Amit Kumar (AmitK211)
Cognizant Technology Solutions

Cognizant Technology Solutions
AmitK211 Member since 2014 25 posts
Cognizant Technology Solutions
Posted: March 21, 2016
Last activity: June 15, 2016
Posted: 21 Mar 2016 7:18 EDT
Last activity: 15 Jun 2016 10:56 EDT

Getting Base64 encoded PDF from HTTP response attachment


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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.