Request
Method:GETPath:
/Parameters: none
Request body: none
Response
200 OK
The service is running and ready to accept requests.Always
"ok the app is running" when the service is healthy. This value is fixed — you can use an exact string match to determine liveness.Use Cases
Container liveness probes — Kubernetes and other orchestrators can hitGET / on a configurable interval. A 200 response means the container is alive; any non-200 response or connection failure triggers a restart.
Load balancer health checks — Configure your load balancer to poll GET / and remove the instance from the pool if it stops responding.
Smoke testing after deployment — After deploying a new version of the service, call GET / before routing production traffic to verify the instance started correctly.