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