Health Check
curl --request GET \
--url https://api.example.com/api/healthimport requests
url = "https://api.example.com/api/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.example.com/api/health';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));API Reference
Health Check
Health check endpoint for keepalive cron.
GET
/
api
/
health
Health Check
curl --request GET \
--url https://api.example.com/api/healthimport requests
url = "https://api.example.com/api/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.example.com/api/health';
const options = {method: 'GET'};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));Response
200 - application/json
Successful Response
⌘I