Skip to main content

No project description provided

Project description

Easy HTTP Requests

usage

from easy_http_requests.easy_http_request import EasyHttpRequest

# Create an instance of EasyHttpRequests
easy_http_requests = EasyHttpRequest()

# GET request
response = easy_http_requests.get('https://jsonplaceholder.typicode.com/posts')

print(response.status_code)

# POST request
response = easy_http_requests.post('https://jsonplaceholder.typicode.com/posts', data={'title': 'foo', 'body': 'bar', 'userId': 1})

# PUT request
response = easy_http_requests.put('https://jsonplaceholder.typicode.com/posts/1', data={'title': 'foo', 'body': 'bar', 'userId': 1})

# DELETE request
response = easy_http_requests.delete('https://jsonplaceholder.typicode.com/posts/1')

print(response.status_code)

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

easy_http_requests-0.5.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easy_http_requests-0.5.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file easy_http_requests-0.5.1.tar.gz.

File metadata

  • Download URL: easy_http_requests-0.5.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for easy_http_requests-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5c4e7811cc1e151ce1436991dff58c652d1347d11270307fb5e71e71df8fca89
MD5 b4cfc31e0c6752b811959a60f4ab0794
BLAKE2b-256 7aaa31d85d279ca6fa49214b1294dc0dfd2797c377a9b222aff48891e2aa5346

See more details on using hashes here.

Provenance

The following attestation bundles were made for easy_http_requests-0.5.1.tar.gz:

Publisher: pypi_publish.yml on UltraViolet33/easy-http-requests

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file easy_http_requests-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for easy_http_requests-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6a5f1fa73dac6efc520ac2aa6ee4182b90068ca91dca8e6cf66979cf8a41fb
MD5 184f5f672ca0c8fa9953d76f879b93aa
BLAKE2b-256 6847fdaca353783c9463b0ca3924f584d0616940df7bfde5f1816e72281a63f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for easy_http_requests-0.5.1-py3-none-any.whl:

Publisher: pypi_publish.yml on UltraViolet33/easy-http-requests

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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