Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83194

Rest API Response body in Rest client(like postman, restclient)

$
0
0
Hi, I have created a GET Rest API using RestService Module in Mendix and I am trying to call this API from POSTMAN. I have used seriliazeObjectToJson from RestService Module but response is  not coming into Body. I have attached a screenshot for the microflow. I am trying to get a list of users which will have username and password in it, and want to generate a response  something like below: {     "error": false,      "errorCode": null,      "message": "API call Successfully",      "payload": {          "UserDetails": [{          "username": "xyz",          "password": "qwqewe"      }, {          "username": "ABC",          "password": "poewrw"      }]    } } Any help will be really appreciated.  

Viewing all articles
Browse latest Browse all 83194

Trending Articles



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