Skip to content

gazayas/http_bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 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_bash/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.

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

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

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

I made a Ruby gem of this as well,
so feel free to check that out here:
httpd.

About

a terminal command to display http statuses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages