Aller au contenu
Peal
Esc
↑↓naviguer↵ouvrir⌘Japerçu

Check that the server is up

Answers as soon as the server is up, whatever the state of its database. Use it as a liveness or container health check.

GET/api/health
Réponses
204

The server is up.

Requête
curl -X GET 'https://api.example.com/api/health'
Réponse
The server is up.

Cette page vous a-t-elle été utile ?