{"height":"190","provider_name":"Hatena Blog","categories":["Nuxt.js","Nuxt3","FetchAPI","Axios"],"blog_url":"https://memory-lovers.blog/","description":"Nuxt3\u3067API\u3092\u547c\u3073\u51fa\u3057\u305f\u3044\u306a\u3068\u601d\u3063\u305f\u3089\u3001axios\u3092\u4f7f\u308f\u306a\u304f\u306a\u3063\u305f\u3089\u3057\u3044\u3002 Nuxt 2 to Nuxt 3: Component Options \u4eca\u5f8c\u306fFetch API\u304b\u3001unjs/ohmyfetch\u306e$fetch\u3092\u4f7f\u3046\u5f62\u306b\u306a\u308b\u3002 axios\u306e\u5834\u5408\u3001\u958b\u767a\u4e2d\u306a\u3069\u3067CORS\u554f\u984c\u304c\u3042\u3063\u305f\u308a\u3057\u3066\u3001 axios-proxy\u304c\u5fc5\u8981\u3060\u3063\u305f\u3051\u3069\u3001\u305d\u308c\u304c\u4e0d\u8981\u306b\u306a\u3063\u3066\u3060\u3044\u3076\u4fbf\u5229\u306b\u306a\u3063\u305f(*\u00b4\u03c9\uff40*) Fetch API \u3056\u3063\u304f\u308a\u306a\u4f7f\u3044\u65b9\u306f\u3053\u3093\u306a\u611f\u3058\u3002 const url = \"https://...\"; const headers = new Headers({ Authorization: `...`\u2026","author_name":"wannabe-jellyfish","url":"https://memory-lovers.blog/entry/2022/06/02/170000","blog_title":"\u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002","author_url":"https://blog.hatena.ne.jp/wannabe-jellyfish/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2022%2F06%2F02%2F170000\" title=\"Nuxt3\u3067axios\u306f\u306a\u304f\u306a\u308a\u3001Fetch API\u3092\u3064\u304b\u3046\u3089\u3057\u3044 - \u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":"Nuxt3\u3067axios\u306f\u306a\u304f\u306a\u308a\u3001Fetch API\u3092\u3064\u304b\u3046\u3089\u3057\u3044","type":"rich","provider_url":"https://hatena.blog","published":"2022-06-02 17:00:00","image_url":null}