Skip to main content

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


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)

Uploaded Source

Built Distribution

shttp_cli-0.1.0-py3-none-any.whl (14.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page