Grayson_149410
Mar 23, 2016Nimbostratus
Healthcheck - JSON Response
Normally we use just normal http or https port checks to determine if the server is up or not. We are trying to change this and require developers to work on creating health checks into their sites.
The devs want to use JSON response and HTTP 200 response to determine up/down.
Here is what they would like to do.
Go to the following page:
https://subsite.company.com/CurrentVersion/HealthCheck
which redirects to below:
https://subsite.company.com/v1.0/HealthCheck
and returns this in JSON format
{"Uri":"https://subsite.company.com/CurrentVersion/HealthCheck","CurrentVersion":"v1.0"}
What is the best way to do this? The server is listening on port 443. Can I use a normal HTTPS monitor to do this or do I need to use a different method?