47
Views
1
Comments
Sending PDF binary using multipart/formdata on REST is not sending correct PDF text.
Question
Application Type
Service

We are consuming a REST API using multipart/formdata. While sending PDF document binary using API when binary get converted to Text in HttpRequest the generated text has some special characters which is supported and PDF get corrupted. And on server a corrupted PDF is received.

Is there any way we can control the Binary which is being sent over HTTP. 

2020-11-10 23-58-16
Raphael Ranieri
 
MVP

Hello @Shailendra Malviya,

Your input/Output parameters are deifned as Binary data type?

Here is an example:

If this is the case you shoudn't have problems with text chars.


Let me know if it helps,

Cheers.
RR 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.