<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>AI</anon>
    <anon>API</anon>
    <anon>Java</anon>
    <anon>プログラミング</anon>
    <anon>情報収集</anon>
    <anon>学習</anon>
    <anon>分析</anon>
  </categories>
  <description>きっかけ・背景・問題意識 あるAPIからもらった画像のURLを表示したら、「xxxxのリソースがその Cross-Origin-Resource-Policy ヘッダー (またはこのヘッダーの不足) によりブロックされました。 」と出てきた。 プロキシが必要なのは、ブラウザのメッセージ内容見てすぐに分かった。じゃあ、SpringBootのプロジェクトでどうやって対応するのが正解なのか思いつかなかったので、やり方を考察して考えた。 調査内容の概要 プロキシサーバを別途立てるのは面倒なので、環境は最小構成でやりたい なるべく汎用的に作って、対応範囲を広げたい 調査結果・考察 gemini/perp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2025%2F12%2F27%2F120000&quot; title=&quot;【調査】SpringBootにてCross-Origin-Resource-Policyの回避方法 - エンターテイメント！！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-27 12:00:00</published>
  <title>【調査】SpringBootにてCross-Origin-Resource-Policyの回避方法</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2025/12/27/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
