LLNW header-based auth plugin for HTTPie.
Project description
httpie-llnw-auth
This module provides an authentication plugin for HTTPie to generate the X-LLNW-Security-* request headers required by Limelight Networks APIs.
Getting Started
Firstly, install the package:
pip install httpie-llnw-auth
Then:
# Simplest example, if LLNW_API_USERNAME and LLNW_API_KEY environment variables are set
http -A llnw https://apis.llnw.com/config-api/v1/svcinst/delivery/shortname/<your shortname>
# Providing API user and key inline (be careful since this will add your API key to your shell history)
http -A llnw -a "myuser:myapikey" https://apis.llnw.com/config-api/v1/svcinst/delivery/shortname/<your shortname>
# Providing API user inline, and interactively prompting for API key
http -A llnw -a myuser https://apis.llnw.com/config-api/v1/svcinst/delivery/shortname/<your shortname>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file httpie-llnw-auth-1.0.1.tar.gz
.
File metadata
- Download URL: httpie-llnw-auth-1.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa7cbe7513c08567c443c5b36beb2726abddf27a18155f794a2bde2c7f5f9760 |
|
MD5 | d90a6beb2ba920fa897953581249d672 |
|
BLAKE2b-256 | cb65d7c45188609d31c943f650922b8dc6b43fa894f353e028c47705ccd8f936 |
File details
Details for the file httpie_llnw_auth-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: httpie_llnw_auth-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32595904f1375117db760b00635b0ebe8fef3af1e9c0d7c4527cd264b87acb22 |
|
MD5 | bbf403e56e521410b7c0d7c840a6bf83 |
|
BLAKE2b-256 | 725ea1ed9a4116fd9e4d81a890ce2f68171b53ec36ebb74d9021456ceff000fe |