How to execute a signed PUT request with OAuth in Python

How should this work? Where are all the oauth_ * values ​​intended for transition, if not in the encoded body, like a POST request? In what form do you sign it?

All OAuth Python libraries I can only find support for GET and POST. Does anyone know who supports all the methods?

+3
source share
1 answer

python-oauth2 supports all HTTP verbs - as a comment I'm connected to, speaks, and quotes,

We use PUT extensively on SimpleGeo (our python-simplegeo package uses python-oauth2 and PUT).

The python-oauth2 package client (oauth2.Client) simply wraps httplib2, which supports all AFAIK verbs.

, , python-oauth2 PUT?

0

Source: https://habr.com/ru/post/1735681/


All Articles