title: AWS S3 Presigned URL upload image with postman
body: <p>I need to upload a file to S3 with postman for testing. I have a generated presigned URL from S3.</p>
  
  <p>But I don't know how to configure postman correctly for doing this PUT request to my generated presigned URL.</p>
  
  <p>The response on postman with malformed headers is:</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
  <pre><code>&lt;Code&gt;SignatureDoesNotMatch&lt;/Code&gt;
  &lt;Message&gt;The request signature we calculated does not match the signature you provided. Check your key and signing method.&lt;/Message&gt;
  </code></pre>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>the params for the presigned request:</p>
  
  <pre><code>const params = {
    Bucket: 'ss-files-dev',
    Key: 'dansero.jpg',
    ContentType: 'image/jpeg',
    Expires: 100
  };
  </code></pre>
  
  <p>I get the URL, then enter it in postman, with PUT request, but the headers are not complete?
  1. if I add content-type on header, there is no response from server
  2. in body for the request Im attaching file as "binary"</p>
  
  <p><a href="https://i.stack.imgur.com/I7Fxq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/I7Fxq.png" alt="postmanConfig"></a></p>
  
  <p>How to do my PUT request from postman?, thanks</p>