title: GitHub GraphQL API Problems parsing JSON
body: <p>What is wrong here?</p>
  <pre><code>query='{ repositoryOwner(login : &quot;ALEXSSS&quot;) { login repositories (first : 30){ edges { node { name } } } } }'
  
  headers = {'Authorization': 'token xxx'}
  
  r2=requests.post('https://api.github.com/graphql', '{&quot;query&quot;: \&quot;'+query+'\&quot;}',headers=headers)
  
  print (r2.json())
  </code></pre>
  <p>I've got</p>
  <pre><code>{'message': 'Problems parsing JSON', 'documentation_url': 'https://developer.github.com/v3'}
  </code></pre>
  <p>but this snippet of code below works correctly</p>
  <pre><code>query1= '''{ viewer { login name } }'''  
  
  headers = {'Authorization': 'token xxx'} 
  
  r2=requests.post('https://api.github.com/graphql', '{&quot;query&quot;: \&quot;'+query1+'\&quot;}',headers=headers) 
  
  print (r2.json())
  </code></pre>
  <p>I've tried out to change quotes (from &quot; into ' or with &quot; and so on)  but it doesn't work.</p>