Vomits the request payloads of incoming HTTP requests to stdout
1.1K
To use without compiling, clone this repository, then run:
go run webhooky.go
...or to compile then run:
go build webhooky.go
./webhooky
Command line options:
--port <port to listen on> (required)
--endpoint <endpoint to listen to> (optional, / is default)
--cert <path to SSL cert> (optional)
--key <path to SSL key> (optional)
--body <string containing a custom response body to be returned> (optional)
docker run -it cwadley/webhooky:latest --port <port_num> [--endpoint, --cert, --key, --body]
If SSL certificates are to be used, they must be volume mounted into the container:
docker run -it -v $(pwd)/certs:/certs cwadley/webhooky:latest --port 443 --cert /certs/mycert.pem --key /certs/mykey.pem
Content type
Image
Digest
sha256:e29e49540…
Size
32.1 MB
Last updated
almost 3 years ago
docker pull cwadley/webhooky