Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Convert PDF stream to base64 string in APIGEE

Not applicable

Hi @Dino,

I am doing a multipart form-data POST to upload a pdf file to Amazon S3. We have a requirement to virus scan the PDF before sending to S3. There is a virus scan API which does the job but the pre-requisite to call the API is that the payload should be Base64 encoded.

Therefore, I need to convert the PDF file stream to Base64 encoded string in APIGEE.

I have seen a similar post with no solution in that (convert pdf stream to base64)

Would you be able to help me achieving this?

0 4 4,734
4 REPLIES 4