Consume web service, response = true

Consume web service, response = true

  

hi, i am wondering, when in postman, we call web service from other site, and the site return result = true, what is interpreted in the Outsystems.. is it true or false? Does Outsystems convert automatically that true to boolean value in outsystems... as true? 

thank you 

Hi pasar,

Do not wonder. Test it ;)

Here you have a great masterclass on how to consume/expose webservices in OutSystems (and a little more).
https://www.outsystems.com/learn/courses/34/master-class-on-integrations-and-extensibility/

In the Web Development Path you also has a presentation on this.

Cheers.

Solution

Hello Pasar,

Here you have an example link for an API with a boolean; 

https://core.callpage.io/api/v1/external

The boolean of a JSON response will be converted to an Outsystems boolean by Outsystems. 

Cheers

Solution