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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size httpie_nsof-0.95-py2.py3-none-any.whl (5.8 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size httpie-nsof-0.95.tar.gz (3.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for httpie_nsof-0.95-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c510ade49798fe5c8933d733d1edf1ee1cd0d0637791fcb7731fe040ae8a019 |
|
MD5 | 06c41ab9dcdb4e7298db1693e60cf55c |
|
BLAKE2-256 | 8f256a0dc85b422fb7e3937cd0a5d508b2e55a2dc15bb687e2dff5e05f1bfebf |