Verificar liveness
curl --request GET \
--url https://api-bc.pgubright.com/healthconst options = {method: 'GET'};
fetch('https://api-bc.pgubright.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api-bc.pgubright.com/health"
response = requests.get(url)
print(response.text){
"status": "ok"
}Saúde
Verificar liveness
GET
/
health
Verificar liveness
curl --request GET \
--url https://api-bc.pgubright.com/healthconst options = {method: 'GET'};
fetch('https://api-bc.pgubright.com/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api-bc.pgubright.com/health"
response = requests.get(url)
print(response.text){
"status": "ok"
}Response
200 - application/json
Serviço em execução.
Example:
"ok"
