Skip to content

Instantly share code, notes, and snippets.

@eranharel
Created August 5, 2019 13:51
Show Gist options
  • Save eranharel/2629a13a7e5a7cb66b252a282853eed5 to your computer and use it in GitHub Desktop.
Save eranharel/2629a13a7e5a7cb66b252a282853eed5 to your computer and use it in GitHub Desktop.
go-sundheit query health API short response type
$ curl -i http://localhost:8080/admin/health.json?type=short
HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 17 Jul 2019 12:54:18 GMT
Content-Length: 35
{
"resolve.example.com": "PASS"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment