Consuming Rest Service

0
Hi, I am trying to build an app with consuming Rest service in mendix, I got exact output in  postman tool using get method but in mendix app i couldn’t get that output. Is there any other way to pass keys and values in get method for location in Call Rest(GET) Activity?     Thanks in advance
asked
1 answers
0

To pass your parameters, you add a location template string and then set values for its parameters. See this description in the docs»
”In the Call REST dialog box, click Edit for the Location and add the following to Templatehttps://en.wikipedia.org/api/rest_v1/page/summary/{1}, with the parameter being the Title attribute from the Input parameter $Input/Title. Click OK.”

For complete details on consuming REST service in Mendix, please go through the documentation which also has an example. https://docs.mendix.com/howto/integration/consume-a-rest-service

Also see the configuration of Call REST activity used in microflow here: https://docs.mendix.com/refguide/call-rest-action

answered