title: no file on upload to django rest framework
body: <p>Update: none of the 2 answers below work. When I use request.FILES["file"] I get a key error.</p>
  
  <p>Using django rest framework I'm trying to upload a pdf file but the request comes in and there is no file. I am trying to upload the file from Postman. The get request works. Any help very much appreciated.</p>
  
  <p>Here is my view</p>
  
  <pre><code>@api_view(['PUT','GET'])
  def upload_pdf(request):
      if request.method == 'PUT':
          myfile = request.POST.get('file')
          print("myfile === {}".format(myfile))
  
      if request.method == 'GET':
          return Response({"message": "Hey there at least this works!"})
  </code></pre>
  
  <p>Output: myfile === None</p>
  
  <p><a href="https://i.stack.imgur.com/QYtDp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QYtDp.png" alt="enter image description here"></a></p>