title: Django can't access raw_post_data
body: <p>I am experiencing a strange thing with Django, here is my views.py:</p>
  
  <pre><code>def api(request):
      return HttpResponse("%s %s" % (request.method,request.raw_post_data))
  </code></pre>
  
  <p>Now I make an HTTP POST with POSTMAN (small app for google chrome).</p>
  
  <p>I set POSTMAN to make a POST request with 'test' in the raw field.</p>
  
  <p>Django returns me 3 different thing (random):</p>
  
  <p>Sometime Django returns 'GET' sometime nothing at all and sometime:</p>
  
  <pre><code>AttributeError at /
  'WSGIRequest' object has no attribute 'raw_post_data'
  Request Method: GET
  Request URL:    https://api.mywebsiteurl.com/
  Django Version: 1.6.2
  Exception Type: AttributeError
  Exception Value:    
  'WSGIRequest' object has no attribute 'raw_post_data'
  Exception Location: /home/spice_dj/spice/views.py in api, line 17
  Python Executable:  /usr/bin/python
  Python Version: 2.7.3
  Python Path:    
  ['/usr/local/lib/python2.7/dist-packages/South-0.8.4-py2.7.egg',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-linux2',
   '/usr/lib/python2.7/lib-tk',
   '/usr/lib/python2.7/lib-old',
   '/usr/lib/python2.7/lib-dynload',
   '/usr/local/lib/python2.7/dist-packages',
   '/usr/lib/python2.7/dist-packages',
   '/home/spice_dj']
  Server time:    Wed, 12 Mar 2014 22:51:11 -0400
  </code></pre>
  
  <ol>
  <li><p>Why Django returns me 'GET' when I clearly make a POST request?</p></li>
  <li><p>Why does it return me that error?</p></li>
  <li><p>Why it does not return me the 'test' that I set in the raw field?</p></li>
  </ol>