Consume multipart/formdata into REST API

Hi

I want to consume JSON and Formdata into REST API. How can I do that. I have POSTMAN API Like this(Check the image).

How can i consume rest api?


Hello Krishna,

Do you want to consume a REST API? You need to go into Logic tab, Integrations folder, right click on REST and choose the "Consume REST API" option:


Then you just need to insert the URL and the OutSystems platform will import all of the methods and their respective structures. Basically, the platform does everything for you.


Kind regards,

Rui Barradas

Hi Krishna Ghael


For consume Rest API you can follow as Rui Barradas said . But For explanation , you can learn from this link 

 https://www.outsystems.com/learn/courses/116/integrating-with-web-services/?LearningPathId=2

there is some exercises and good resources that can help more. 


Thanks .

Hello Krishna.


The consumption of REST services is a native functionality of OutSystems.

You can check the official documentation

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Consume_REST_APIs

especially that first link to

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Consume_REST_APIs/Consume_One_or_More_REST_API_Methods


Or you can take a look on some demo videos (this one is not official, but shows the basics that Rui wrote about)

https://www.youtube.com/watch?v=i6KFDJ83KSI 

To try it on your own you have a full web services course (no need to see all videos, just the one that is relevant):

https://www.outsystems.com/learn/courses/116/integrating-with-web-services/

And for your specific situation (not the easiest one), there is an entire article!

https://www.outsystems.com/blog/posts/consuming-multipart-form-data-rest-method/

I hope this is enough.

Krishna Ghael wrote:

Hi

I want to consume JSON and Formdata into REST API. How can I do that. I have POSTMAN API Like this(Check the image).

How can i consume rest api?


Hi,


Could be helpful,


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


Thanks!