How can I consume a REST API that has as request multipart/form-data and JSON?

I am trying to build the front-end for an application that runs its backend on other enviroment different than outsystems.

For this purpose, I have to accomplish several REST API calls to first send the data to the back-end and then retrieve the results once the data has been proccesed on the back end

At this moment, I am stuck trying to figure out how to consume one of this REST action that require as input parameters a multipart/form-data(binary data) and a string, as you can see on the following image:


Hi Jaime,

Please check demo available in below forge component -

https://www.outsystems.com/forge/component-overview/4026/multipart-form-data


Thanks

Vinod

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.