title: Django POST curl REST api
body: <p>I want to call a RESTful api with django that uses a POST. I know how to do a GET, but how do I do a POST?</p>
  
  <p>For the get, I use <code>requests.get(...)</code></p>
  
  <p>the API call is:</p>
  
  <pre><code>curl -v -X POST -H "Content-Type: application/json" \
       -H "Accept: application/json" \
       -X POST \
       --user user:password \
       https://this.is.an.external.domain \
       -d "{\"name\": \"Marcus0.1\",\"start\": 500000,\"end\": 1361640526000}"
  </code></pre>
  
  <p><strong>update</strong></p>
  
  <p>So, I found requests.post, but how do translate the above curl command</p>