Skip to main content

Installation

Command line installation (Unix, Windows):

$ pip install httpclient

(pip installation instructions)

Quickstart

Send a GET request:

from httpclient import HttpClient

http_client = HttpClient()
page = http_client.get("http://www.google.com")

print(page.content_as_string)

Send a POST request:

from httpclient import HttpClient

http_client = HttpClient()
page = http_client.post("http://www.some-site.org/login",
                    {"username": "xxx", "password": "yyy"})
print(page.content_as_string)

Documentation

Full documentation within the github wiki.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

httpclient-0.0.2.zip (30.9 kB view details)

Uploaded Source

File details

Details for the file httpclient-0.0.2.zip.

File metadata

  • Download URL: httpclient-0.0.2.zip
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for httpclient-0.0.2.zip
Algorithm Hash digest
SHA256 bc1e75e28163d3f8386ccd448b9d34f13564a02c8cc7cb422a657475920ae60a
MD5 9e94763615bf63db81b04893c7bf4689
BLAKE2b-256 8a239339b5dc63024d69991dc7954b9362f55b3193bb05df5597ff684d190ddd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page