...
3- Check health status of the API service with following command.
Code Block |
---|
language | bash |
---|
title | Health Check |
---|
|
curl --user healthcheck:zb\!XztG34 -H “Accept=application/json, Content-Type=application/json” -k https://<VM_IP>IP_ADDRESS>:6969/healthcheck
e.g,
curl --user healthcheck:zb\!XztG34 -H “Accept=application/json, Content-Type=application/json” -k https://10.12.6.93:6969/healthcheck |
4- Health Check should return following output:
Code Block |
---|
language | bash |
---|
title | Health Check Output |
---|
|
{"name":"Policy API","url":"self","healthy":true,"code":200,"message":"alive"} |