Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Posting FormData object to external API from Workflow

Avatar

Level 2

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

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2
1 Reply

Avatar

Correct answer by
Level 2