How to consume HTTP POST REST API using multipart/form-data method

How to consume HTTP POST REST API using multipart/form-data method

  

Hi,

I need to consume REST API in outsystem, the type of the request is HTTP POST and data being sent in the body in the form of multipart/form-data. Please let us know how to do configuration for this in outsystems.


What should be the Request Format (JSON/Binary/Plain Text/Form URL Encoded) in the configuration and what should be the data-type  of the input parameter (Text/Binary ..)  in that case ?

Hi Akshay,

Consuming REST APIs with multipart/form-data is not possible out of the box with OutSystems. See here and here for more information.

First of all I apologize that I still have not got the time to publish the component for consuming multipart REST web service. 

@Akshay: As suggested in above comment here, you can study code and action mentioned in my comment but that action is for specific request.

Let us know what is your request payload or HTTP Post request from postman so that we can assist you better to consume the web service.

Thanks and Regards,

Suraj Borade