Created
August 15, 2017 20:40
-
-
Save ratchetwrench/1d4cab61f7a25564ba9cbfff1ff9aa84 to your computer and use it in GitHub Desktop.
Create a Python Request with API token authorization.
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
import requests | |
response = requests.get('https://website.com/id', headers={'Authorization': 'access_token myToken'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment