httpie-oauth
===========
OAuth plugin for `HTTPie <https://github.com/jkbr/httpie>`_.
It currently provides support for OAuth 1.0a 2-legged.
Installation
------------
.. code-block:: bash
$ pip install httpie-auth
You should now see ``oauth1`` under ``--auth-type`` in ``$ http --help`` output.
Usage
-----
.. code-block:: bash
$ http --auth-type=oauth1 --auth='client-key:client-secret' example.org
You can also use `HTTPie sessions <https://github.com/jkbr/httpie#sessions>`_:
.. code-block:: bash
# 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
===========
OAuth plugin for `HTTPie <https://github.com/jkbr/httpie>`_.
It currently provides support for OAuth 1.0a 2-legged.
Installation
------------
.. code-block:: bash
$ pip install httpie-auth
You should now see ``oauth1`` under ``--auth-type`` in ``$ http --help`` output.
Usage
-----
.. code-block:: bash
$ http --auth-type=oauth1 --auth='client-key:client-secret' example.org
You can also use `HTTPie sessions <https://github.com/jkbr/httpie#sessions>`_:
.. code-block:: bash
# 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
Metadata
Release files for httpie-oauth 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httpie-oauth-1.0.2.tar.gz | 1.8 kB | Details |
Release files / httpie-oauth-1.0.2.tar.gz
| Download URL | httpie-oauth-1.0.2.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4fd8c6e85a7f84e27ba7bfc910627e7010465f4dc4999f81f6c43513485503f
|
|
BLAKE2b-256 checksum How to use checksums |
edb5d309cd50e319fa2d746eb8a5d4cb881d9973a0b1095e31e0fac77761cbd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |