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 !!