258
Views
5
Comments
Calling REST POST API on click of button
Question

I am trying to call Rest POST API on click of a button in my UI screen, but getting some error to set req body for my POST API.

Any step by step tutorial available that I can follow? Pls help.


I am able to add rest post end point and setup structure etc.

2026-02-19 02-54-36
Keerthi Vasan V

Hey Monika,

Can you please explain your steps that you have done to achieve your API call.

It seems you need to send the Request Body (Json) for the Post Call.


I would like to help you if you clearly explain me your process your flow.

Thanks,

Keerthi : ) 

UserImage.jpg
Monika Gupta

Keerthi Vasan wrote:

Hey Monika,

Can you please explain your steps that you have done to achieve your API call.

It seems you need to send the Request Body (Json) for the Post Call.


I would like to help you if you clearly explain me your process your flow.

Thanks,

Keerthi : ) 


Thanks Keerthi, I can explain you. is it possible for you have a screen sharing session? let me know.

2026-02-19 02-54-36
Keerthi Vasan V

Hi Monika,


I cant connect you now.

But you can do screen-shots following step by step.

I will definitely reply you back


Thanks,

Keerthi  

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Monika,

The problem is likely in the way you have defined the REST API's Method. You should make sure it is correctly set up. Can you please post the exact error you are getting?

2021-04-09 11-42-43
assif_tiger
 
MVP

Monika Gupta wrote:

I am trying to call Rest POST API on click of a button in my UI screen, but getting some error to set req body for my POST API.

Any step by step tutorial available that I can follow? Pls help.


I am able to add rest post end point and setup structure etc.

Consume REST API Session by Outsystem:

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

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