title: "message":"Required request part \'file\' is not present"
body: <p>I want to upload a file using REST and python. I am able to do it using Postman. But when I take the Python code from Postman and try to execute it on my own using requests module, I get the below error. Please help.</p>
  
  <pre><code>import requests
  
  url = "https://url******"
  
  payload = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: 
  form-data; name=\"file\"; filename=\"Path to file"\r\n\r\n\r\n------
  WebKitFormBoundary7MA4YWxkTrZu0gW--"
  headers = {
      'content-type': "multipart/form-data; boundary=----
  WebKitFormBoundary7MA4YWxkTrZu0gW",
      'auth_token': auth_token,
      'cache-control': "no-cache",
  }
  
  response = requests.request("POST", url, data=payload, headers=headers, 
  verify=False)
  
  print(response.text)
  
  &gt;&gt;&gt; response.text
  u'{"message":"Required request part \'file\' is not 
  present","detailedMessage":"
  ","errorCode":-1,"httpStatus":500,"moreInfo":""}'
  </code></pre>