Imitation is the sincerest form of flattery.
But seriously, https://github.com/reorx/httpstat is the new hotness, and this is a shameless rip off.
httpstat
requires Go 1.20 or later.
go install github.com/davecheney/httpstat@latest
httpstat https://example.com/
-k
.-I
.-L
.-X METHOD
.PUT
or POST
request body with -d string
. To supply the PUT
or POST
body as a file, use -d @filename
.-H 'Name: value'
.-o filename
to save it to a file, or -O
to save it to the file name suggested by the server.HTTP_PROXY
/HTTPS_PROXY
env vars (as well as lower case variants).-E cert.pem
.Bug reports are most welcome, but with the exception of #5, this project is closed.
Pull requests must include a fixes #NNN
or updates #NNN
comment.
Please discuss your design on the accompanying issue before submitting a pull request. If there is no suitable issue, please open one to discuss the feature before slinging code. Thank you.