{"provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.letitride.jp%2Fentry%2F2020%2F06%2F06%2F171316\" title=\"AWS API Gateway\u304b\u3089\u306eevent[&#39;body&#39;]\u304cbase64 encode\u3055\u308c\u3066\u6e21\u3055\u308c\u308b - \u8ffd\u61b6\u884c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u8ffd\u61b6\u884c","published":"2020-06-06 17:13:16","categories":["\u30c6\u30c3\u30af","\u30c6\u30c3\u30af-AWS"],"provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://www.letitride.jp/","author_name":"letitride","author_url":"https://blog.hatena.ne.jp/letitride/","type":"rich","title":"AWS API Gateway\u304b\u3089\u306eevent['body']\u304cbase64 encode\u3055\u308c\u3066\u6e21\u3055\u308c\u308b","description":"\u8868\u984c\u306e\u901a\u308a\u3002 method=\"POST\"\u3067\u9001\u4fe1\u3057\u305f\u5024\u304cHTTP API\u3068\u3057\u305fAPI Gateway\u304b\u3089Lambda\u306bevent\u3092\u6e21\u3059\u969b\u3001body\u306e\u4e2d\u8eab\u304cbase64 encode\u3055\u308c\u305f\u6587\u5b57\u5217\u3068\u3057\u3066\u6e21\u3055\u308c\u308b\u3002 API GateWay\u304b\u3089\u6e21\u3055\u308c\u308bevent['body']\u306f\u4eca\u306e\u4ed5\u69d8\u3060\u3068base64\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u3066\u6e21\u3055\u308c\u308b\u307f\u305f\u3044\u3002from urllib.parse import parse_qsbody = base64.b64decode( event['body'] )param = parse_qs(body.decode('utf-8'))\u3067dictionary\u306b\u5909\u63db\u3067\u304d\u308b\u3002\u4f55\u6545\u3001base6\u2026","version":"1.0","url":"https://www.letitride.jp/entry/2020/06/06/171316","height":"190"}