Question

Send pdf document as input to REST API


Badge +5

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


0 replies

Be the first to reply!

Reply