Added token info

This commit is contained in:
Xavier Fiechter 2023-08-13 11:22:57 +02:00
parent 82026539b4
commit 148765782b

View file

@ -25,7 +25,7 @@ base_url = 'https://labelbase.space/api/v0/'
# Define headers containing the API key
headers = {
'Authorization': f'Token {api_key}'
'Authorization': f'Token {api_key}' # Authentication scheme is 'Token' not 'Bearer' or 'JWT'
}
```