-
-
Save ssbarnea/1d911cf012421546b7d55491f9a38293 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from requests import Session | |
from requests.auth import HTTPBasicAuth | |
s = Session() | |
auth = HTTPBasicAuth('ssbarnea', '...') | |
s.auth = auth | |
x = s.get("https://review.rdoproject.org:443/r/a/accounts/self") | |
print(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment