Rest Api Post Method

0
I want to access a REST API via the http post method and get back various objects. The objects should be imported/exported in XML format. I already created an import/export mapping for the XML objects. Does it make sense to insert the export in the request and the import in the response section in the same REST API Call? Can anybody give me an example on how to implement the REST API function in a microflow? Thank you for you help! Greeting from germany,   Maxi 
asked
2 answers
2

Maxi,

Yes, it makes sense to use an export mapping to send a request to a REST service and an import mapping to receive the response.  In the microflow, you’ll need to create the object(s) needed for the export mapping.  Then you’ll use the objects you created in the Call REST action.  This how to may be helpful:  https://docs.mendix.com/howto/integration/consume-a-rest-service

Mike

answered
0

Check below link...

https://medium.com/mendix/configuring-rest-services-in-mendix-a36c513df4b1

 

https://academy.mendix.com/link/modules/526/lectures/4134/2.3-The-Different-Methods

 

https://docs.mendix.com/refguide9/integration/publish-rest-service/

 

 

 

answered