Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

httpie/httpie-oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ℹ️ Please use the newer httpie-oauth1 plugin instead:

https://github.com/qcif/httpie-oauth1


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