An HTTP server that responds and logs each request in the standard output
1.2K
š An HTTP server that responds and logs each request in the standard output.
To start the server with Docker, listening on port 8080:
docker run --publish 8080:80 --rm tazorax/http-pong
$ docker run -p 8080:80 --rm tazorax/http-pong
2025/10/22 12:30:27 Listening on :80
2025/10/22 12:30:37 Request
GET /hello HTTP/1.1
Host: localhost:8080
Accept: */*
User-Agent: curl/8.7.1
--------------------------------------------------------------------------------
$ curl http://localhost:8080/hello
GET /hello HTTP/1.1
Host: localhost:8080
Accept: */*
User-Agent: curl/8.7.1
Content type
Image
Digest
sha256:5a7883b0fā¦
Size
2.4 MB
Last updated
4 months ago
docker pull tazorax/http-pong