Shivani
7 years agoNew Contributor
Post json request with MIME type.
Hi All,
We have a requirement in the form:
a) request has to be sent in json POST format.
b) along with request, we need to send xml file as a MIME type.
When we select Media Type as "application/json", file is not sent, and when we set Media Type as "multipart/form-data", we are getting parsing error, as the request been sent is not considered as json.
Can anyone please help us with this?
Thanks in advance.