title: How to send POST Request in python and get proper json response?
body: <p>I want to get POST Web service data in python. For that purpose, I tried below:</p>
  
  <pre><code>import requests
  import json
  
  headers = {'content-type': 'application/json','charset': 'utf-8'}
  url = 'https://a.b.c.com/count/WebService.asmx/ReadJSON'
  data = {'tick': '123456A123456B'}
  response = requests.post(url, data=json.dumps(data), headers=headers)
  print response.status_code
  print response.text
  </code></pre>
  
  <p><strong>Above code output:</strong></p>
  
  <pre><code>200
  {"a":""}
  </code></pre>
  
  <p>But Actually, <strong>key "a" has some value</strong> which I'm not getting. I don't understand it's giving me status code as 200 i.e. OK then why I'm not able to get the proper JSON response. Is I missed something in code?</p>