It is a simple project to verify the integrity of the application through a get request
and using shields-io to generate a shield with the status: IS UP
or IS DOWN
.
✓ have a public get endpoint
✓ this endpoint needs to use https
✓ this endpoint needs to respond to status code 200 to represent a good case (if all is well), all the other status will be considered as a bad case (if something is wrong).
https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=<app_name>&url=<app_url>
For this demo I will use:
app_name
= google
url
= https://www.google.com
https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=google&url=https://www.google.com
![health-check][health-check-svg]
<!-- alias -->
[health-check-svg]: https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=google&url=https://www.google.com