Nsof OAuth 2 plugin for HTTPie.
Project description
Nsof OAuth 2 plugin for the HTTPie command line HTTP client.
Installation
$ pip install httpie-nsof
You should now see nsof under --auth-type in $ http --help output.
Setup
$ httpie-nsof-setup
Your HTTPie should be configured to use Nsof’s auth plugin with your creds (see ~/.httpie/config.json).
Usage
$ http --auth-type=nsof GET https://api.nsof.io/v1/users
It’s possible to pass a different effective org using the env EORG:
$ EORG=nsof http --auth-type=nsof GET https://api.nsof.io/v1/users
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-nsof-0.7.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for httpie_nsof-0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3817fac1db188854225ac1b7e346b2238f7d84a1529959cbc3c63e65d5fdaf4e |
|
MD5 | dc4e425b0abc14f7a187518d0d391a9c |
|
BLAKE2b-256 | e95aa9bbaa03bb0b16a9b58a8d82a90dac50730a40cc47e6ca686eb640314042 |