title: Amazon S3 Create Object Error: POST requires exactly one file upload per request
body: <p>I am trying to create an object via postman rest client with the following request. It gives the below-mentioned error. What could be the reason for this? Can anyone help me to fix this? </p>
  
  <p>Request:</p>
  
  <pre><code>POST HTTP/1.1
  Host: 1465549420742testconbkt2.s3-us-west-2.amazonaws.com
  x-amz-date: Fri, 10 Jun 2016 09:03:47 GMT
  Authorization: xxxxxx
  Content-Type: multipart/form-data;boundary=----WebKitFormBoundaryE19zNvXGzXaLvS5C
  Cache-Control: no-cache
  
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  Content-Disposition: form-data; name="file"; filename="testFile.txt"
  Content-Type: text/plain
  
  
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  Content-Disposition: form-data; name="acl"
  
  public-read-write
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  Content-Disposition: form-data; name="key"
  
  testFile.txt
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  Content-Disposition: form-data; name="success_action_status"
  
  200
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  Content-Disposition: form-data; name="AWSAccessKeyId"
  
  AKIAJQJTU6FXS7TC2DTA
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>&lt;Error&gt;
      &lt;Code&gt;InvalidArgument&lt;/Code&gt;
      &lt;Message&gt;POST requires exactly one file upload per request.&lt;/Message&gt;
      &lt;ArgumentName&gt;file&lt;/ArgumentName&gt;
      &lt;ArgumentValue&gt;0&lt;/ArgumentValue&gt;
      &lt;RequestId&gt;B1EE3A8D9EA832AE&lt;/RequestId&gt;
      &lt;HostId&gt;dqOG4gKXDXYKomDig1VD559Wc3XCLvPPB+uUiM6xKNiOVeMH+dvqDrAv47zy15qDIz/WvO+T3rQ=&lt;/HostId&gt;
  &lt;/Error&gt;
  </code></pre>
  
  <p>Thanks in advance</p>