7.7. Health Check URL
Every application block deployed as a web application provides a health check URL. An HTTP GET request of this URL returns ok if the block is ready to work.
The URL paths for different blocks are listed below:
-
Middleware:
/remoting/health -
Web Client:
/rest/health -
Web Portal:
/rest/health
So for an application named app and deployed at localhost:8080 the URLs will be:
You can replace ok in response with any text using the cuba.healthCheckResponse application property.