Python
Switch branches/tags
Nothing to show
Latest commit 2372774 Dec 8, 2016 @jkbrzt jkbrzt committed on GitHub Update README.rst
Permalink
Failed to load latest commit information.
LICENSE v1.0.0 Sep 22, 2013
README.rst Update README.rst Dec 8, 2016
httpie_oauth.py Cleanup Sep 24, 2013
setup.py Avoid importing HTTPie from setup.py. Sep 24, 2013

README.rst

httpie-oauth

OAuth plugin for HTTPie.

It currently provides support for OAuth 1.0a 2-legged.

Installation

$ pip install httpie-oauth

You should now see oauth1 under --auth-type in $ http --help output.

Usage

$ http --auth-type=oauth1 --auth='client-key:client-secret' example.org

You can also use HTTPie sessions:

# Create session
$ http --session=logged-in --auth-type=oauth1 --auth='client-key:client-secret' example.org

# Re-use auth
$ http --session=logged-in POST example.org hello=world