http-debug has some small tools to help you test and debug proxies and validate routing.
# go
go install github.com/stenic/http-debug@latest
# docker
docker pull ghcr.io/stenic/http-debug:latest
# dockerfile
COPY --from=ghcr.io/stenic/http-debug:latest /http-debug /usr/local/bin/
For even more options, check the releases page.
# Installed
http-debug -h
# Docker
docker run -ti ghcr.io/stenic/http-debug:latest -h
# Kubernetes
kubectl run http-debug --image=ghcr.io/stenic/http-debug:latest --restart=Never -ti --rm -- -h
http-debug -h