The published REST service feature was introduced in version 7.10.0.
Add a published REST service to expose your entities and microflows to other apps using the REST standard.
2 Published REST Service
For an overview of the available options when you add a published service, see Published REST Service.
To publish a microflow as a REST operation, right-click anywhere in the editor and select Publish as REST service operation.
Published REST services are secured with basic authentication. This is automatically applied when you set the security level of your app to Prototype / demo or Production.
If you don’t want basic authentication, there are two options:
- You can choose to have no authentication for specific published REST services, or
- When you allow anonymous users to your app, all published REST services become available without authentication
Note that web service users cannot access REST services.
Every published REST service is automatically documented. This documentation is available in the app under
http://yourapp.com/rest-doc/. Each service has an interactive documentation page using Swagger UI. You can interact with the service to see how it behaves.
To log detailed information about interaction with your published REST service, set the log level of the REST Publish log node to Trace.
How to publish REST natively with Mendix