Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
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