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.8.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for httpie_nsof-0.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab5e78bdcdfdb9c9acba7e9f342d679be9cd6748de5529927b0f53def5d5509f |
|
MD5 | a1f0549066bbb2f531e36a7c8633f53d |
|
BLAKE2b-256 | 777eba7dbc655d17fbb2832e6eddaaaa4d5155e007b552ae109905feaaa7502b |