HMAC Auth plugin for HTTPie.
Project description
Installation
$ pip install httpie-hmac-auth
You should now see hmac under --auth-type in $ http --help output.
Usage
$ http --auth-type=hmac --auth=':secret' example.org
Examples
$ http -v --pretty all --auth-type=hmac --auth=":secret" :8900/moderation/discussions X-Forwarded-Proto:https
$ http -v --pretty all --auth-type=hmac --auth=":secret" POST :8900/moderation/antispam/foo X-Forwarded-Proto:https
License
Copyright (c) 2016 The Guardian. Available under the MIT License.
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
File details
Details for the file httpie-hmac-auth-0.1.0.tar.gz
.
File metadata
- Download URL: httpie-hmac-auth-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f84dedc74e4f1251334cd5d4fb6093f37f66d7f2184f3e006336f50f46640b0c |
|
MD5 | add3ca35469f592bb89b1e1e32c5b4a0 |
|
BLAKE2b-256 | e1ee8d127c12bf98381a1f46ca0918c07a351f376d08da58fe480398802b78bd |