httpie-escher-auth
This HTTPie auth plugin implements Escher authentication for endpoints using Escher authentication with default settings.
Installation
Be sure that HTTPie is installed, and install this plugin:
$ pip install httpie-escher-auth
After installing, you will see the option escher-auth
under --auth-type
if you run
$ http --help
.
Example
$ http --auth-type=escher-auth --auth=escher_key:escher_secret https://api.example.com/users
The default Escher credential scope is "escher_request". You can define the credential scope like this:
$ http --auth-type=escher-auth --auth=credential_scope/escher_key:escher_secret https://api.example.com/users
Check out HTTPie sessions if you would like to save authentication information between your requests.