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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
shttp_cli-0.1.0-py3-none-any.whl
(14.7 kB
view details)
File details
Details for the file shttp_cli-0.1.0.tar.gz.
File metadata
- Download URL: shttp_cli-0.1.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddec6df50a4bd2eab12ccee783d84da4eec22272bf16a883daaa49a2073e0605
|
|
| MD5 |
a359771d72a83e6b5d01e450abde5833
|
|
| BLAKE2b-256 |
d019902896f2f063d64912a7d61604d1f20fad1a3f9213ff3f8b38d3ecde23a2
|
File details
Details for the file shttp_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: shttp_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a85bb5b56758184fc71af46fe92af8397d135c96e1fe40aa78698a9158c9328e
|
|
| MD5 |
7bb761ddd9c7aac42cc1d679b2576e37
|
|
| BLAKE2b-256 |
16f77481030a930f0e88a8111087088985ede172daf971b13911de65e84689f8
|