Question

7
Replies
3910
Views
AmitK211 Member since 2014 25 posts
Cognizant Technology Solutions
Posted: 4 years ago
Last activity: 4 years 4 months ago
Closed
Solved

Getting Base64 encoded PDF from HTTP response attachment

Hello,

I have a requirement where I need to call a URL to get pdf from application. This PDF I have to later show to user. For that I want to get the pdf in base64 encoded format.

Currently the integrating system sends PDF as an attachment.

Content-Type : Application/pdf

Content-disposition -  "attachment;filename=test.pdf"

In my http connect, I mapped the response data in a string property. How to get  pdf in base64 string format out of this response string. Later i will send this Base64 string as a response of another http service.

Regards !!

Data Integration Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn