Good morning everyone,
I have a cloud flow that needs to export the contents of a pdf file in array-byte format to a Post Buffer-Insert API.
I pass the APPO variable (type string) to the body, which I value as follows:
string(decodeBase64(outputs('Fetch_attachment_(V2)')?['body/contentBytes']))
where outputs('Fetch_attachment_(V2)')?['body/contentBytes'] is the file content in byte
This works if the pdf file contains simple text, but if the pdf file is "complex" the file in the destination won't open.
[??? perhaps the problem is the presence of particular characters in the content (diamond with ?)]
Can you give me some advice please?
Thank you
cv