Skip to main content

Library for simplify third party request

Project description

Make sure you have upgraded version of pip

Windows

py -m pip install --upgrade pip

Linux/MAC OS

python3 -m pip install --upgrade pip

Import package

from mglairflowutilslib import invoke_http_request

Usage

url = 'http://example.com'
request_type = 'POST'
headers = {"Content-Type": "application/json"}
payload = {"foo": "bar"}
response, status = invoke_http_request(url, request_type, headers, payload)

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

mglairflowutilslib-1.0.27.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

mglairflowutilslib-1.0.27-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file mglairflowutilslib-1.0.27.tar.gz.

File metadata

  • Download URL: mglairflowutilslib-1.0.27.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for mglairflowutilslib-1.0.27.tar.gz
Algorithm Hash digest
SHA256 9d81be493502fd1f59da4949616151e28490d80fda11f5936e3c77ac5738bfba
MD5 fe79366e8bbd97bb5a1ed461b309abe4
BLAKE2b-256 d64f9ca7e28a8f2a73b92365854f87e59fb78d26bd429163580655c94581113f

See more details on using hashes here.

File details

Details for the file mglairflowutilslib-1.0.27-py3-none-any.whl.

File metadata

  • Download URL: mglairflowutilslib-1.0.27-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for mglairflowutilslib-1.0.27-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce65525bdb74a820a05d3cc71f0843a68edd69e96727712a0b5f4b5ba4f7992
MD5 c92e1a816ab21419f097c9bc38b77648
BLAKE2b-256 a8bf0c6e57f9b9b00bc73cdc4dc446c299b349e953fbbb52c42cff05560f8594

See more details on using hashes here.

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