How to convert input file from base64 to binary value?

Hey there, I'm building an ATS application where docx file need to be passed to resource service for converting it to PDF. It seems, retool File input element convert the selected file to base64 encoding.

Here's how my API takes headsers and body.

Can you help ?

1 Like

Hey @sohailapy!

You'll likely want to use the Form Data body type in a REST API query. There are some folks who have configured similar setups in this thread can you let me know if any of the information there is helpful?

Hi @Kabirdas Thanks. I have used an external service which take base64 encoding and convert to PDF.

Will try out this as well.