Skip to main content

Hi,

 

I’m trying to send the pdf document to rest api using HTTP File POST package. But im getting the error below. I’ve given content-type = application\pdf in custom headers. Could anyone help on this?

 

Status: 415  {"error":{"code":"UnsupportedMediaType","message":"Request content type is not supported."}}

probably because the API you’re trying to use expects a multipart/form-data structure instead of application/pdf.

Closing this thread now, but please feel free to start a new thread if you need more help!