I am trying to post PDF document using HTTP request but unable to do that.
I am adding PDF document in attachment but looks like server is not able to recognize that document is PDF and giving following error message-
“Invalid file type, please upload a PDF file”
Do I need to add any kind of content-type in header?
Any help would be appreciated.
Thanks in advance.