<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panda_noir</author_name>
  <author_url>https://blog.hatena.ne.jp/panda_noir/</author_url>
  <blog_title>Panda Noir</blog_title>
  <blog_url>https://www.pandanoir.info/</blog_url>
  <categories>
    <anon>Node.js</anon>
    <anon>JavaScript</anon>
    <anon>PHP</anon>
    <anon>GraphQL</anon>
  </categories>
  <description>superagentというパッケージを利用します。 const request = require('superagent'); request .post('http://localhost:8080') .send(` query { user(name: &quot;香風智乃&quot;) { name, age } }`) .end((_, res) =&gt; { console.log(JSON.parse(res.text)); }); めちゃくちゃカンタンですよね。 おまけ: PHPでアクセスする方法 適宜php-curlをインストールしたり、php.iniをいじったりしてください。 &lt;?php $ur…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pandanoir.info%2Fentry%2F2018%2F12%2F11%2F180453&quot; title=&quot;NodeでGraphQLのリクエストを出す - Panda Noir&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://cdn-ak.f.st-hatena.com/images/fotolife/p/panda_noir/20181204/20181204134730.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-11 18:04:53</published>
  <title>NodeでGraphQLのリクエストを出す</title>
  <type>rich</type>
  <url>https://www.pandanoir.info/entry/2018/12/11/180453</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
