Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] REST returns Boolean as XML not JSON

$
0
0
This is what OS Support had to say

=======================================
The type mappings for REST API outputs are done like you mention by design.

This allows for greater flexibility when defining our customer's REST APIs. If the customer wants a custom format they can simply add a text output and built it themselves, for example. Some APIs are also simpler if you just return the number or boolean instead of forcing the consumers to parse a JSON object to obtain a single value.

It's currently not possible to change the way this works.

Please let us know if you have further questions regarding this matter.

Best regards,
Ricardo Silva
============================================================

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>