mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
Update qdrant-landing/content/articles/data-privacy.md
Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>
This commit is contained in:
co-authored by
Kacper Łukawski
parent
89315b5a1f
commit
7d02927032
@@ -84,15 +84,12 @@ import jwt
|
||||
import datetime
|
||||
|
||||
# Define your API key and other payload data
|
||||
api_key = 'your_api_key'
|
||||
api_key = "your_api_key"
|
||||
payload = { ...
|
||||
}
|
||||
|
||||
token = jwt.encode(payload, api_key, algorithm='HS256')
|
||||
token = jwt.encode(payload, api_key, algorithm="HS256")
|
||||
print(token)
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
Once you have generated the token, you should include it in the subsequent requests. You can do so by providing it as a bearer token in the Authorization header, or in the API Key header of your requests.
|
||||
|
||||
Reference in New Issue
Block a user