How to pass username and password in the curl requests using requests python module
Tobiah
toby at tobiah.org
Thu May 2 13:59:51 EDT 2019
On 5/2/19 4:30 AM, Pradeep Patra wrote:
> Can anyone pls help in this regard?
>
Something like this?:
requests.get('https://api.github.com/user', auth=('user', 'pass'))
More information about the Python-list
mailing list