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.9.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for httpie_nsof-0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d64c49f9c72c0ac5c69a3985024b49d174d3aabc06922410651201e2bd829e1 |
|
MD5 | 87f591e1bf7c8c64d37906df4c659894 |
|
BLAKE2b-256 | d3d8f556c0c1bc9aaff55b24a039f06229aecdd91bc22ea01b4fda1a6f2b704c |