cURL
curl --request GET \ --url https://api.example.com/health
{ "status": "<string>", "timestamp": "<string>", "uptime": 123, "checks": {}, "checks.database": "<string>", "checks.cache": "<string>" }
Verificar a disponibilidade da API
200 OK
ok
error
curl -X GET https://api.linka.com/health
{ "status": "ok", "timestamp": "2026-03-06T10:00:00.000Z", "uptime": 86400, "checks": { "database": "ok", "cache": "ok" } }
Was this page helpful?