Skip to content

a terminal command to display http statuses

Notifications You must be signed in to change notification settings

JaroslawWiosna/http

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

#http

A command line tool for looking up http statuses

##Installation $ curl -o /usr/local/bin/http https://raw.githubusercontent.com/gazayas/http/master/http
$ chmod 755 /usr/local/bin/http

##Usage

$ http 200
200 OK

$ http 100 200 404
100 Continue
200 OK
404 Not Found

# there are 3 options, and they can all be used together
# -d for details
# -l for the master list
# -jp for Japanese

$ http 417 -d
417 Expectation Failed
The server cannot meet the requirements of the Expect request-header field.

$ http 200 404 503 -d  #Details for multiple statuses can be looked up all at once

$ http -l
100 Continue
101 Switching Protocols
102 Processing
200 OK
201 Created
202 Accepted
...

# The master list with details
$ http -l -d

About

a terminal command to display http statuses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%