<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dskst9</author_name>
  <author_url>https://blog.hatena.ne.jp/dskst9/</author_url>
  <blog_title>STEAM PLACE</blog_title>
  <blog_url>https://blog.dskst.jp/</blog_url>
  <categories>
    <anon>AWS</anon>
  </categories>
  <description>普通に作ると jsonp にはできない AWS API Gateway x Lambda x Python の API を作り、デフォルト設定のまま retuen で dict を返却すると自動的に json にパースされレスポンスが返る。文字列を返すとクオートで囲まれてしまうので、 Lambda から直接 js を返却することができなかった。 例） callback({&quot;hoge&quot;:&quot;foo&quot;}) を return すると &quot;callback({\&quot;hoge\&quot;:\&quot;foo\&quot;})&quot; のように文字列としてレスポンスされてしまう。 やったこと API Gateway レスポンスを加工する機能が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.dskst.jp%2Fentry%2F2016%2F04%2F19%2F000000&quot; title=&quot;AWS API Gateway x Lambda で jsonp を返却する - STEAM PLACE&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>https://qiita-image-store.s3.amazonaws.com/0/68136/4ed89f31-0662-b7df-bc29-2b64907dcd2a.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-19 00:00:00</published>
  <title>AWS API Gateway x Lambda で jsonp を返却する</title>
  <type>rich</type>
  <url>https://blog.dskst.jp/entry/2016/04/19/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
