curl(1)statistics in some way of attractiveness and readability.
- Obtain the script immediately:
- Via pip:
pip set up httpstat
- Via homebrew (macOS handiest):
brew set up httpstat
python httpstat.py httpbin.org/get
If put in via pip or brew, you’ll be able to use
httpstat as a command:
As a result of
httpstat is a wrapper of cURL, you’ll be able to move any cURL supported possibility after the url (apart from for
-S that are already utilized by
httpstat httpbin.org/publish -X POST --data-urlencode "a=b" -v
httpstat has a number of setting variables to regulate its conduct. Listed below are some utilization demos, you’ll be able to additionally run
httpstat --help to look complete rationalization.
true to look debugging logs. Default is
For convenience, you’ll be able to export those environments for your
.bashrc , instance:
Listed below are some implementations in more than a few languages:
- Bash: b4b4r07/httpstat
That is what precisely I wish to do on the very starting, however gave up because of now not assured in my bash talent, just right task!
- Node: yosuke-furukawa/httpstat
b4b4r07 discussed this in his article , might be used as a HTTP shopper additionally.
- Pass: davecheney/httpstat
I am working towards Pass just lately, it is satisfied to learn and be told from this one.
- Pass (library): tcnksm/go-httpstat
As opposed to being a cli device, this mission is used as library to assist debugging latency of HTTP requests in Pass code, very considerate and helpful, see extra on this article
- PHP: talhasch/php-httpstat
The PHP implementation via @talhasch
Some code blocks in
httpstat are copied from different initiatives of mine, take a look:
- reorx/python-terminal-colour Drop-in unmarried document library for printing terminal colour.
- reorx/getenv Atmosphere variable definition with kind.