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.6.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for httpie_nsof-0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae51333a47f869f22211426a8e09b1977e2823d8209ad902f7d3761501a059a |
|
MD5 | 5281e44b9ef57470330ea1f81d3506b5 |
|
BLAKE2b-256 | 2df6c8696ffbb4d5dbb227016670546445d33fe119af794c85ebe16d06e54d02 |