httpstat visualizes curl(1) statistics in some way of attractiveness and readability.
This is a unmarried document Python script that has no dependency and is appropriate with Python 3.
Set up There are three techniques to get httpstat :
Obtain the script immediately: wget https://uncooked.githubusercontent.com/reorx/httpstat/grasp/httpstat.py
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:
cURL Choices 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 -w , -D , -o , -s , -S that are already utilized by httpstat ):
httpstat httpbin.org/publish -X POST --data-urlencode "a=b" -v
Atmosphere Variables 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.
Set to true to look debugging logs. Default is false
For convenience, you’ll be able to export those environments for your .zshrc or .bashrc , instance:
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