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.39.tar.gz (11.3 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.39-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mglairflowutilslib-1.0.39.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.12

File hashes

Hashes for mglairflowutilslib-1.0.39.tar.gz
Algorithm Hash digest
SHA256 59af75aa5d6e6dd67cee74b7ab3fdbc945d396b323b082f1f6a636cd8b224494
MD5 4cd5833dcf74831a9b6da4df7e9f8595
BLAKE2b-256 62835701991003aab71b7df245739ceccadf0563524f0a7b42e6fc028a8b43b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mglairflowutilslib-1.0.39-py3-none-any.whl
Algorithm Hash digest
SHA256 aff201bbf61bcb77c57f4ad60c08a358f4e6c8309a9a5f8292be92378cf386ea
MD5 afdfdf992a3282b18cfa383e3894c4ca
BLAKE2b-256 0eb0aad5f9dc572f00e1c463fad6edb823b6a5797aeeeb8707a6065bcf8f3d8d

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