title: How to access the body of an http request
body: <p>I am making an http request to hit an endpoint using Python's request library as shown below:</p>
  <pre><code>r = requests.get('http://127.0.0.1:...',data = {...})
  </code></pre>
  <p>If i model this request on Postman i get as a result an object like shown below:</p>
  <pre><code>{&quot;o&quot;:1}
  </code></pre>
  <p>which is what my endpoint returns.</p>
  <p>However if a manually do the request i can't access this object.The request reaches my server just fine like a erquest from postman.</p>
  <p>I tried <code>r.json()</code> but this prints an int value of <code>1015</code> which i don't understand how it is generated.Is it an error code?
  I've been stuck in this for a while,any ideas?</p>