Edgegrid plugin for HTTPie.
EdgeGrid plugin for HTTPie.
To install from sources:
$ python setup.py install
The EdgeGrid plugin relies on a .edgerc credentials file that needs to be created in your home directory and organized by [section] following the format below. Each [section] can contain a different credentials set allowing you to store all of your credentials in a single .edgerc file.
[default] client_secret = xxxx host = xxxx # Note, don't include the https:// here access_token = xxxx client_token = xxxx max-body = xxxx [section1] client_secret = xxxx host = xxxx # Note, don't include the https:// here access_token = xxxx client_token = xxxx max-body = xxxx
Once you have the credentials set up, here is an example of what an Akamai OPEN API call would look like:
% http --auth-type edgegrid -a <section_name>: :/<api_endpoint>
Making the diagnostic-tools API locations call:
% http --auth-type edgegrid -a default: :/diagnostic-tools/v1/locations
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size httpie-edgegrid-1.0.6.tar.gz (6.5 kB)||File type Source||Python version None||Upload date||Hashes View|