https://github.com/piotrpersona/httpst
Display information about HTTP Status Code
https://github.com/piotrpersona/httpst
http tool utility
Last synced: 12 months ago
JSON representation
Display information about HTTP Status Code
- Host: GitHub
- URL: https://github.com/piotrpersona/httpst
- Owner: piotrpersona
- License: apache-2.0
- Created: 2019-04-16T16:28:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-01T14:29:49.000Z (about 6 years ago)
- Last Synced: 2023-03-23T17:51:04.937Z (almost 3 years ago)
- Topics: http, tool, utility
- Language: Go
- Size: 29.3 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# httpst
[](https://travis-ci.org/piotrpersona/httpst)
Display HTTP Status Code description
## Install
```console
curl -fsSL -o /usr/local/bin/httpst \
https://github.com/piotrpersona/httpst/releases/download/latest/httpst-darwin-amd64 \
&& chmod +x /usr/local/bin/httpst
```
## Usage
Display single code info
```console
$ httpst 200
200 OK
```
or multiple codes
```console
$ httpst 200 201
200 OK
201 Created
```
with long description
```console
$ httpst 500 -l
500 Internal Server Error
The server encountered an unexpected condition which prevented it
from fulfilling the request.
```
or with group info
```console
$ httpst 200 -g
200 OK
2xx Successful 2xx
This class of status code indicates that the client's request was
successfully received, understood, and accepted.⏎
```