I have a multi-part request with two parts, a file and json metadata. The “file” part I can set the content-type through the attachment, but the “json” part seems to be defaulting to application/octet-stream which causes a 415.
When I change the content-type of the json part to application/octet-stream in Postman, I can reproduce the 415. So it seems if there is a way in ReadyAPI to set the content-type to application/json, I can POST successfully. But I do not see any options in ReadyAPI to do so.
Do you know if this problem got resolved? I have a multi-part request with two parts, a file and json metadata. The “file” part I can set the content-type through the attachment, but the “json” part seems to be defaulting to application/octet-stream which causes a 415.
Originally posted by TanyaYatskovska on September 17, 2019
Hi dboone,
I see some investigations on this topic. However, I’m not sure if I share them with you. Could you please contact our Support Team as well and provide them with the detailed information?