You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,15 @@ print(result)
32
32
33
33
Authorization tokens can be added to the request using the client's `inject_token` method:
34
34
35
-
```
35
+
```py
36
36
client.inject_token('very-long-and-secure-token')
37
37
```
38
+
which defaults to http header name 'Authorization'. An alternative http header name for the token can be set by passing in the alternative header name, e.g. for 'x-api-key':
0 commit comments