Update qdrant-landing/content/articles/data-privacy.md

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>
This commit is contained in:
David Myriel
2024-06-18 04:03:22 -07:00
committed by GitHub
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.