Health Check
curl --request GET \
--url https://api.example.com/api/v1/healthconst options = {method: 'GET'};
fetch('https://api.example.com/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/health"
response = requests.get(url)
print(response.text)System
Health Check
GET
/
api
/
v1
/
health
Health Check
curl --request GET \
--url https://api.example.com/api/v1/healthconst options = {method: 'GET'};
fetch('https://api.example.com/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/health"
response = requests.get(url)
print(response.text)Response
200
OK
⌘I