Check the API is up
GET
/api/health
const url = 'https://api.wrktr.com/api/health';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.wrktr.com/api/healthAnswers without credentials, with the commit the API was deployed from.
Responses
Section titled “Responses”Success