


Hello,
I would like to know if anyone can help me find how to send a file to an external API.
My external API has a "Content-Type = multipart/form-data" requirement.
As far as i know the only way to do this in javascript normally is to declare a FormData object, append values and file to it and send it through XmlHTTPRequest using Post method.
Problem is, the FormData object is not defined in Adobe Campaign Classic JS so I'm stuck.
Thank you.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Sign in to like this content
Total Likes
Managed to find solution using using the stackoverflow links :
https://stackoverflow.com/questions/47080869/how-to-manually-create-multipart-form-data
https://stackoverflow.com/questions/7529159/javascript-isnt-uploading-binary-data
Views
Replies
Sign in to like this content
Total Likes
Managed to find solution using using the stackoverflow links :
https://stackoverflow.com/questions/47080869/how-to-manually-create-multipart-form-data
https://stackoverflow.com/questions/7529159/javascript-isnt-uploading-binary-data
Views
Replies
Sign in to like this content
Total Likes