Fork me on GitHub

ktor-sample-httpbin

Based on httpbin(1): HTTP Request & Response Service

ENDPOINTS

DESCRIPTION

All endpoint responses are JSON-encoded.

LIVE EXAMPLES

$ curl http://httpbin.org/ip

$ curl http://httpbin.org/user-agent

$ curl http://httpbin.org/get

$ curl -I http://httpbin.org/headers

$ curl https://httpbin.org/get?show_env=1

AUTHORS

Based on a Kenneth Reitz project httpbin.

Adopted to Ktor by Jean-Michel Fayard