Ping
GET
/ping
const url = 'https://example.com/ping';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/pingLiveness probe: returns immediately if the process is up. No DB / Redis / Celery / model checks — use /health for dependency status.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
example