I am trying to post SharePoint files to a 3rd party via their API. Their API uses multipart/form-data. After some trial and error, I can POSTcontent, but only text files come out correctly on the destination. Other files (Excel, Word, jpg, etc.) post, but the data is not readable. What do I need to do to the file content to format it properly?
Hi - Can someone provide an example to submit multiple files via one POST API request.
Files will be available in one drive/blob location.
We need to read all files at once and submit them to POST API by adding them one by one in form-data.
Content type : multipart/form-data;
From the postman submission of multiple files in one request is possible.
What exactly are you converting to base64?. It might be that the input to that is already in the right format and you're doing an extra step that breaks it
Keep up to date with current events and community announcements in the Power Automate community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!