title: Python Requests POST not working
body: <p>I am using python requests module for calling API's.
  Everything was working fine until I pushed my code to AWS. Even on AWS it is working if I am working on dev server i.e., <code>ec2.####.amazon.com:8000</code> .</p>
  
  <p>Here is my code : </p>
  
  <pre><code>r = requests.post(api_url, data = {"var 1":"value", "var 2":"value"})
  </code></pre>
  
  <p>My API url not allowed <code>GET</code> method so in response I am getting error that <code>GET</code> method not allowed which means <code>requests.post</code> is reads as <code>get</code> </p>
  
  <p>Any idea what’s wrong here.</p>