Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
We need to call an API that has a Content Type of multipart/form-data which means that the body of the request needs to be split into individual sections.

Part of this request is a file that needs to be sent in a binary format.

These files are reciepts that are stored in Salesforce as Files which are Type Base64 (VersionData)

However we are struggling to understand how to convert the files from Base64 to binary for the API calls?

Any help appreciated.
1 answer
0/9000