It's like curl -v, with colours.
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.
httpstatrequires Go 1.13 or later.
$ go install github.com/davecheney/[email protected]
$ httpstat https://example.com/
POSTrequest body with
-d string. To supply the
POSTbody as a file, use
-H 'Name: value'.
-o filenameto save it to a file, or
-Oto save it to the file name suggested by the server.
HTTPS_PROXYenv vars (as well as lower case variants).
Bug reports are most welcome, but with the exception of #5, this project is closed.
Pull requests must include a
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.