Type of Binary Request Body to be sent from an external system using web api.

Hello all,

As mentioned in the WEB API documentation, I'm trying to send a pdf in base64 format from an external API/Postman. 

However, when I try to open the pdf in an interface within the Document Viewer tag, it says - Failed to load document. I tried downloading and opening this document in my local pc, I get the same error. 

When I'm using an online website to test the same base64 string to document conversion, it works. 

Implementing a similar use case, wherein I'm calling the MSGRAPH GET ATTACHMENT (for a message) API with Appian integration that provides me document data in the form of base64 values. Appian is auto-converting these documents from its base64 format and storing it. 

What am I missing over here? Is there a specific base64 format that Appian understands? Does the request body need additional parameters supporting the base64 string like name, size, content type?  

  Discussion posts and replies are publicly visible