human
Python requests library how to pass Authorization header with single token
assistant
Here is some code to request URI '<MY_URI>' and pass authorization token 'TOK:<MY_TOKEN>' to the header

r = requests.get('<MY_URI>', headers={'Authorization': 'TOK:<MY_TOKEN>'})

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.