You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Kong admin API I noticed it doesn't include a newline after the response body. When using with a CLI tool like cURL this makes for a bad developer experience.
without newline:
$ curl 127.0.0.1:8000
{"message":"API not found"}$ curl 127.0.0.1:8001
{"hostname":"","tagline":"Welcome to Kong","version":"0.1.1beta-2","plugins":{"enabled_in_cluster":{},"available_on_server":["keyauth","basicauth","ratelimiting","tcplog","udplog","filelog"]}}$
with newline:
$ curl 127.0.0.1:8000
{"message":"API not found"}
$ curl 127.0.0.1:8001
{"hostname":"","tagline":"Welcome to Kong","version":"0.1.1beta-2","plugins":{"enabled_in_cluster":{},"available_on_server":["keyauth","basicauth","ratelimiting","tcplog","udplog","filelog"]}}
$
The text was updated successfully, but these errors were encountered:
Using the Kong admin API I noticed it doesn't include a newline after the response body. When using with a CLI tool like cURL this makes for a bad developer experience.
without newline:
with newline:
The text was updated successfully, but these errors were encountered: