Sign inSign up

narate/httpcat

By narate

•Updated about 7 years ago

Simple HTTP Request dump with netcat

Image
0

350

narate/httpcat repository overview

⁠httpcat

Simeple HTTP Request dump with netcat

⁠Run httpcat

docker run --rm -it -p 80:80 narate/httpcat

⁠Example

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!

⁠Environment Variable

  • PORT
docker run --rm -it --net=host -e PORT=8000 narate/httpcat
  • HOST
docker run --rm -it --net=host -e HOST=127.0.0.1 -e PORT=8000 narate/httpcat

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

about 7 years ago

docker pull narate/httpcat