Posting to REST API

Posting to REST API


Hi All, 

So when I try to make a post to an API the request has to be in JSON. I tried to enter the request as a JSON string but it complains that the type is not correct. What is the correct way to convert the Text to JSON?


Hi Lee,

From where are you trying to post to the REST API?

Did you consume the REST API in OutSystems?

Do you see the REST API as an action in Service Studio?

If this is the case, then you can just fill in the values in the inputs and you can igore the JSON.

Maybe it's best if you show a screenshot of what you are trying to accomplish or could you share your module?

Kind regards,

Remco Dekkinga