Publish Rest API

0
Hi Guys, I am making publish rest api for get Project list based on project name when i run in swagger then its return list but when i run in browser or get api data in microflow then its return xml. But i want json.Any  one suggest me.
asked
2 answers
0

In the microflow for the method do a export mapping to create a JSON string and return that string in the microflow.

Regards,

Ronald

 

answered
0

in the export mapping, you have to set the content to JSON instead of xml.

answered