2024 Feb 16 6:01 AM - edited 2024 Feb 16 7:14 AM
Hi Everyone.
I have a requirement to retrieve the images from Concur. When I make the API call, it returns the URL of the pdf image which is valid for 15 mins. I need to store this to a folder for further processing.
As a POC, When I call this URL using request reply and send it to a mail, I am receiving white blank pdf attachments.Can you please advise ?
An update: When I get response after calling the URL, I have applied MIME Multipart encoder and If I take that base64 string and use online tool(https://base64.guru/converter/decode/pdf) to decode it to PDF, it looks good.
How do I extract the base64 string and decode it to PDF in CPI ?
Thanks,
Varun
Can you try using a Python3 operator for the conversion?
Find the sample blog: Convert Base64 to PDF in Python | Examples | Python | Developers | Base64
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.