Skip to main content

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


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)

Uploaded Source

Built Distribution

httpie_llnw_auth-1.0.1-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page