PDF document from BASE64 encoded data

0
Hi All, I am publishing a REST service where I receive the content of a PDF in an encoded Base64 format in String. I need to convert that into a PDF and show it on the screen. I wont be having any template here as I can get anything from the consumed side. Any ideas how to show the content as PDF on the screen and user can download it as PDF document.   Regards, Ajay
asked
1 answers
0

The problem is solved.

We added a filename attribute in the entity and always having that name with .pdf extension (as per our requirements no other files would be sent from consuming side) and when we open the content in Document viewer, it is showing as PDF and issue got solved.

answered