Report the HTTP status codes for GET and POST requests
Project description
Install
You can install status from PyPI with pip using the following command:
pip install status
or download the source repository and run the following command in the top level source directory:
python setup.py install
Usage
status will report the returned status code with a GET or POST request. The general syntax is:
status [option] <url>
It is not necessary to include the protocol (http://) in your URL. If you enter a URL without the protocol, status will prefix it with http://. If you intend to test with the secure HTTP protocol (https://), then make this explicit in your URL.
GET Request Status Codes
GET is the default request type. Enter the URL as an argument to status without an option:
status <url>
POST Request Status Codes
To use a POST request, add the -p or --post option:
status -p <url>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for status-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af35bfb41e9e542f9f3d9cb8830b8c666e91c68b7330708bd6d42d5f1f1ad0f2 |
|
MD5 | cea64481d6a7c57eeb6922853ae2bffe |
|
BLAKE2b-256 | 1f60e7b7687379aa6641756c9e8d35317233e6484a0d760e134314d11035155f |