Simeple HTTP Request dump with
netcat
docker run --rm -it -p 80:80 narate/httpcat
curl 127.0.0.1 -H 'X-Foo: Bar' -d 'Hello, World!'
Output in httpcat
Listening on [0.0.0.0] (family 0, port 80)
Connection from 172.17.0.1 47010 received!
POST / HTTP/1.1
Host: 127.0.0.1
User-Agent: curl/7.54.0
Accept: */*
X-Foo: Bar
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
Hello, World!
docker run --rm -it --net=host -e PORT=8000 narate/httpcat
docker run --rm -it --net=host -e HOST=127.0.0.1 -e PORT=8000 narate/httpcat
Content type
Image
Digest
Size
2.7 MB
Last updated
about 7 years ago
docker pull narate/httpcat