Golang http server that displays method and payload for testing or synthetic traffic endpoints
3.2K
Golang HTTP server.
Testing communication or traffic generation
Run Example:
docker run --rm -it -p 8080:8080 lopezjo49/lilhttp
Curl to the endpoint 8080 will display enpoint and method.
curl 172.17.0.1:8080
{"Client":"172.17.0.6:45770","Method":"GET","URL":"/","Status":200}
curl 172.17.0.1:8080/bob
{"Client":"172.17.0.6:45770","Method":"GET","URL":"/bob","Status":200}
curl -XPOST 172.17.0.1:8080/sam
{"Client":"172.17.0.6:45770","Method":"POST","URL":"/bob","Status":200}
Combine with a ConfigMap script with curls to each endpoint to generate traffic for demonstrations.
Content type
Image
Digest
sha256:18fa0e0cb…
Size
99.1 MB
Last updated
7 months ago
docker pull lopezjo49/lilhttp