Simple HTTP server that logs incoming requests. GitHub Project: svenstaro/dummyhttp
470
See main project at: https://github.com/svenstaro/dummyhttp
Print help with: docker run dersimn/dummyhttp --help
docker run --rm --init -p 8080:8080 dersimn/dummyhttp
Test in a seperate window with
curl -H "X-MyHeader: FooBar" localhost:8080/foo?bar=baz
simon:dummyhttp $ docker run --rm --init -p 8080:8080 dummyhttp
dummyhttp v1.1.0 listening on http://0.0.0.0:8080
2025-39-10 18:39:17 192.168.65.1:35522 GET /foo?bar=baz HTTP/1.1
┌─Incoming request
│ GET /foo?bar=baz HTTP/1.1
│ Accept: */*
│ Host: localhost:8080
│ User-Agent: curl/8.7.1
│ X-Myheader: FooBar
┌─Outgoing response
│ HTTP/1.1 200 OK
│ Content-Type: text/plain; charset=utf-8
│ Date: Mon, 10 Mar 2025 18:39:17 +0000
Content type
Image
Digest
sha256:1ad225ee4…
Size
326.6 MB
Last updated
over 1 year ago
docker pull dersimn/dummyhttp