how to convert base64encoded string to pdf in logicApp

Dhirendra Sahoo 0 Reputation points

I have a requirement where I am receiving a file in base64encoded string format. I have to archive this file in Xtendis using rest APis of them. Xtendis REST API accepts file only in pdf format . So I have to convert base64encoded format to pdf before calling the APi. could anyone please suggest how can this be achieved. Thank you

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,692 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,346 Reputation points Microsoft Employee

    @Dhirendra Sahoo You can use the base64ToString() function to convert the base64 string into a binary object that can then passed to the REST API with content type application/octet-stream.

    0 comments No comments