{"blog_url":"https://react.hateblo.jp/","url":"https://react.hateblo.jp/entry/aws_lambda_apigateway_cors","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Freact.hateblo.jp%2Fentry%2Faws_lambda_apigateway_cors\" title=\"Lambda + API Gateway No &#39;Access-Control-Allow-Origin&#39; header - Entoverse\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_url":"https://blog.hatena.ne.jp/mojeld/","provider_url":"https://hatena.blog","author_name":"mojeld","type":"rich","description":"\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3001AWS API Gateway\u3067\uff3bCORS\u306e\u6709\u52b9\u5316\uff3d\u3092\u306a\u3093\u3069\u8a66\u3057\u3066\u3082\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u5834\u5408 Access to XMLHttpRequest at '*.ap-northeast-1.amazonaws.com/*' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. exports.handler = async (event) => { co\u2026","width":"100%","title":"Lambda + API Gateway No 'Access-Control-Allow-Origin' header","published":"2018-10-25 16:49:38","provider_name":"Hatena Blog","categories":["ajax","aws_lambda","API Gateway"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mojeld/20181025/20181025164653.png","version":"1.0","blog_title":"Entoverse"}