106
Views
2
Comments
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:


2019-07-01 07-16-04
Vinod Patidar

Hi Jaime,

Please check demo available in below forge component -

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


Thanks

Vinod

2024-01-20 14-53-12
Ahmed Essawy

You have only two option : 

1- The out of box solution is to use outsystems with this versions or higher 

Prerequisites

  • Platform Server 11.19.0

  • Service Studio 11.53.40 

and follow this post.


2- else if you have older version then, I solved the same issue using this forge module as per the following screen shot : 








  

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