title: Sending multipart/form-data content with Postman Chrome extension
body: <p>I'm struggling with creating POST multipart/mixed request with Postman Chrome extension. I keep getting <a href="http://www.checkupdown.com/status/E500.html" rel="nofollow noreferrer">HTTP 500</a>.</p>
  
  <p>Already gone through <a href="https://stackoverflow.com/questions/19178813/sending-multipart-mixed-content-with-postman-chrome-extension">this question</a>, but sadly solution doesn't works for me.</p>
  
  <p>Here is my curl request which works for me.</p>
  
  <blockquote>
    <p>curl -H "Content-Type: multipart/form-data" -F "merchantLogo=@offerlogo-320-320.png; type=image/png" -F "merchantDetails=@merchant.json; type=application/json" -X PATCH localhost:5000/api/merchants/57035bda0c74362faf5937f2/details -i -v</p>
  </blockquote>
  
  <p>And when I use Postman
  <a href="https://i.stack.imgur.com/bfALg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bfALg.png" alt="enter image description here"></a></p>
  
  <p>I am getting such response</p>
  
  <pre><code>{"code": 500,
  "message": "There was an error processing your request. It has been logged (ID 034bec7815baca2e)."}
  </code></pre>
  
  <p>Request headers being passed from postman.
  <a href="https://i.stack.imgur.com/qsnuq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qsnuq.png" alt="Request headers from Postman"></a></p>
  
  <p>Somehow, the merchantDetails are always being passed as null when calling from POSTMAN and is passed properly when making call from curl.</p>
  
  <p>Any help would be much appreciated.</p>
  
  <p>EDITED 1:</p>
  
  <p>My request from POSTMAN copied as curl,</p>
  
  <blockquote>
    <p>curl
    '<a href="http://localhost:5000/api/merchants/5714d8e060b2a79e62227d1a/details" rel="nofollow noreferrer">http://localhost:5000/api/merchants/5714d8e060b2a79e62227d1a/details</a>'
    -X PATCH -H 'Pragma: no-cache' -H 'Origin: chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm' -H
    'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language:
    en-GB,en-US;q=0.8,en;q=0.6' -H 'User-Agent: Mozilla/5.0 (X11; Linux
    x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87
    Safari/537.36' -H 'Content-Type: multipart/form-data;
    boundary=----WebKitFormBoundaryxRZ6VKzFV40ZFIsd' -H 'Accept: <em>/</em>' -H
    'Cache-Control: no-cache' -H 'Cookie:
    JSESSIONID=1ofut8bbydk491k2s80i4rowed;
    JSESSIONID=yg4l9zpjs5oj1xaqnuo44ehp6' -H 'Connection: keep-alive'
    --data-binary $'------WebKitFormBoundaryxRZ6VKzFV40ZFIsd\r\nContent-Disposition:
    form-data; name="merchantDetails";
    filename="merchant.json"\r\nContent-Type:
    application/octet-stream\r\n\r\n\r\n------WebKitFormBoundaryxRZ6VKzFV40ZFIsd\r\nContent-Disposition:
    form-data; name="merchantLogo";
    filename="offerlogo-320-320.png"\r\nContent-Type:
    image/png\r\n\r\n\r\n------WebKitFormBoundaryxRZ6VKzFV40ZFIsd--\r\n'
    --compressed</p>
  </blockquote>