Service health check
curl --request GET \
--url https://api.plansync.dev/api/v1/healthconst options = {method: 'GET'};
fetch('https://api.plansync.dev/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/v1/health"
response = requests.get(url)
print(response.text){
"ok": true
}Health
Service health check
GET
/
api
/
v1
/
health
Service health check
curl --request GET \
--url https://api.plansync.dev/api/v1/healthconst options = {method: 'GET'};
fetch('https://api.plansync.dev/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/v1/health"
response = requests.get(url)
print(response.text){
"ok": true
}Response
200 - application/json
Healthy
Example:
true