Liveness probe.
GET
/healthz
const url = 'https://api.serp.cheap/healthz';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://api.serp.cheap/healthzResponses
Section titled “ Responses ”OK