I am struggling with creating a multi-page / mixed POST request with the Postman Chrome extension. I keep getting HTTP 500 .
This question has already passed, but, unfortunately, the solution does not work for me.
Here is my curl request that works for me.
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
And when I use Postman 
I get this answer
{"code": 500, "message": "There was an error processing your request. It has been logged (ID 034bec7815baca2e)."}
Request message headers from the postman. 
Somehow, merchantDetails is always passed as null when called from POSTMAN and correctly passed when called curl.
Any help would be greatly appreciated.
EDITED 1:
My POSTMAN request is copied as curl,
curl ' http: // localhost: 5000 / api / merchants / 5714d8e060b2a79e62227d1a / details ' -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; border = ---- WebKitFormBoundaryxRZ6VKzFV40ZFIsd '-H' Accept: / '- 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"; file name = "merchant.json" \ r \ nContent-Type: Application / octet stream \ r \ n \ r \ n \ r \ n ------ WebKitFormBoundaryxRZ6VKzFV40ZFIsd \ g \ nContent-Disposition: form data; name = "merchantLogo"; file name = "offerlogo-320-320.png" \ r \ nContent-Type: Image / PNG \ r \ n \ r \ n \ r \ n ------ WebKitFormBoundaryxRZ6VKzFV40ZFIsd - \ r \ n "--compressed
Aditya Apr 11 '16 at 5:50 2016-04-11 05:50
source share