How to use curl to access the github graphql API : <p>After referring this <a href="https://developer.github.com/early-access/graphql/guides/accessing-graphql/" rel="noreferrer">guide</a> I needed to access the github <code>graphql</code> by using <code>curl</code> for a testing purpose. I tried this simple command </p>

<pre><code>curl -i -H "Authorization: bearer myGithubAccessToken" -X POST -d '{"query": "query {repository(owner: "wso2", name: "product-is") {description}}"}' https://api.github.com/graphql
</code></pre>

<p>but it gives me</p>

<blockquote>
  <p>problems parsing JSON</p>
</blockquote>

<p>what I am doing wrong. I spent nearly 2 hours trying to figure it and tried different examples but none of them worked. Can you please be kind enough help me resolve this</p>
