A command-line HTTP client.
Project description
An extremely tiny and straightforward HTTP client
Installation
shttp is a Python script. You may install it using pip:
pip install shttp-cli
Basic usage
Send a GET request
shttp http://httpbin.org/get
Send a POST request
shttp --method POST http://httpbin.org/post
or
shttp -m POST http://httpbin.org/post
Send a POST request with a body
shttp -m POST http://httpbin.org/post -d '{"foo": "bar"}'
Licensing
This code is released under the GPLv3 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shttp_cli-0.1.0.tar.gz
(13.9 kB
view hashes)
Built Distribution
shttp_cli-0.1.0-py3-none-any.whl
(14.7 kB
view hashes)
Close
Hashes for shttp_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a85bb5b56758184fc71af46fe92af8397d135c96e1fe40aa78698a9158c9328e |
|
MD5 | 7bb761ddd9c7aac42cc1d679b2576e37 |
|
BLAKE2b-256 | 16f77481030a930f0e88a8111087088985ede172daf971b13911de65e84689f8 |