Skip to content

Instantly share code, notes, and snippets.

@ukchukx
Created January 21, 2020 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ukchukx/5179e53ad12ff3a2490094cfb07e0299 to your computer and use it in GitHub Desktop.
Save ukchukx/5179e53ad12ff3a2490094cfb07e0299 to your computer and use it in GitHub Desktop.
$ curl -i -X GET --url http://localhost:8000/api/kongchat/ping
# Sample output
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 18
Connection: keep-alive
X-Powered-By: Express
ETag: W/"12-6FyCUNJCdUkgXM8yXmM99u6fQw0"
X-Kong-Upstream-Latency: 22
X-Kong-Proxy-Latency: 1
Via: kong/1.4.3
{
"message":"pong"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment