title: sending data parameters to rest api using python-requests
body: <p>I am trying to call <code>rest api</code> by sending <code>json</code> data. The curl command is pretty straight forward but only problem that I am facing is with "--data" parameter. </p>
  
  <p>For curl, the data is sent as follows:</p>
  
  <pre><code>curl -X POST -H &lt;headers&gt; --data 'params={...}' &lt;url&gt;
  </code></pre>
  
  <p>I am not able to figure out how to send the --data parameter with the name <code>'params='</code>attached to it using python-requests.</p>
  
  <p>Also while making GET requests, there are a lot of options which I have to send along with the <code>curl requests(-O ,-J, -v, -G,-L)</code>.</p>
  
  <p>I wanted to know how to supply these additional parameters using python-requests.</p>
  
  <p>Thanks.</p>