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
httpie-llnw-auth-1.0.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for httpie_llnw_auth-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32595904f1375117db760b00635b0ebe8fef3af1e9c0d7c4527cd264b87acb22 |
|
MD5 | bbf403e56e521410b7c0d7c840a6bf83 |
|
BLAKE2b-256 | 725ea1ed9a4116fd9e4d81a890ce2f68171b53ec36ebb74d9021456ceff000fe |