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.2.tar.gz (3.8 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.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: easy_http_requests-0.5.2.tar.gz
  • Upload date:
  • Size: 3.8 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.2.tar.gz
Algorithm Hash digest
SHA256 935d38d743da19fad3f5730dfb05cf70b576de26bc42668ed7798fadc06b673a
MD5 8dde3fbf7d62e71c468b6f532e9d4b66
BLAKE2b-256 f0da75fce547e981151afa8dcf428e851daf69bba58811df18d6e0d1cfb1cc7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for easy_http_requests-0.5.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for easy_http_requests-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 884b55bbfa598d8cf2e456e1402f62bec4afce5724621e490272f8af4d791c8b
MD5 a714e3a3920a824e3c45526dda12fbb7
BLAKE2b-256 b70060de0dd807d83b18140f5ffdf80d4d4617c087c1ddad6a05b7595d8c7605

See more details on using hashes here.

Provenance

The following attestation bundles were made for easy_http_requests-0.5.2-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