Skip to main content
Question

Send pdf document as input to REST API


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."}}

Be the first to reply!

Reply