cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Rest Post multipart/form-data

Tommy
New Contributor III

Hi there,

I am trying to upload a file to a REST post web service. From the developer guide here is a code sample:

image

and the parameters.

image

I have tried passing an encoded base64 string using binary to document, but looking at the code sample, the web service wants a multipart/form-data POST.

Here is the configuration i have tried in Snapโ€ฆ

image

image

At the moment, i am getting this errorโ€ฆ

โ€œerrorsโ€:[{โ€œdetailโ€:โ€œMultipart form parse error - Invalid boundary in multipart: Noneโ€,โ€œsourceโ€:{โ€œpointerโ€:โ€œ/โ€},โ€œstatusโ€:โ€œ400โ€

Could someone please guide me on how to use the multi part configuration in Snap

1 ACCEPTED SOLUTION

Tommy
New Contributor III

i resolved this by removing the content type from the header

View solution in original post

1 REPLY 1

Tommy
New Contributor III

i resolved this by removing the content type from the header