title: Django POST request from Postman
body: <p>I am currently stuck with POST requests in Django. I am trying to send a POST request from an external applications such as smartphones or Postman (not forms) to the rest framework. Get requests work just fine.</p>
  
  <p>I went through many posts but couldn't resolve my issue. I tried to use request.body but always get an empty response. I used print(response.body) to print the output to the console and only get b'' back.</p>
  
  <pre><code>class anyClass(APIView):
  
      def post(self, request):
          print(request.body)
          return Response({"id": 'anyClass',
                       "data": '1234',
                       })
  </code></pre>
  
  <p>How would I get the data from my request?</p>
  
  <p>My post request sent with Postman:
  <a href="http://127.0.0.1:8000/test/v2/Api/anyClass?qrcode=100023&amp;date=2018-11-27&amp;time=08:00:00&amp;value_1=17" rel="nofollow noreferrer">http://127.0.0.1:8000/test/v2/Api/anyClass?qrcode=100023&amp;date=2018-11-27&amp;time=08:00:00&amp;value_1=17</a></p>