Call server side code from Native Mobile App which will call and process the REST API - Mendix Forum

Call server side code from Native Mobile App which will call and process the REST API

0

We have a requirement where we need to call the REST API from Native mobile App.

 

Can we call server side code from Mendix native app? If yes can you share some links/pointers /steps or any sample for the same?

asked
1 answers
1

Hi Sagar,

Yes you can. Create a nanoflow which can be used in your Native App. From your nanoflow you check if device has connection with nanoflow common JS action, and if connected you can call a microflow. In your microflow which runs on server process your REST call and return the  API data as return parameter which is then available in your nanoflow or with synchronize to device action in microflow to get data on the device.

answered