add_api_key_header
adds a security header to connect to Qdrant instance with an API key.
Usage
add_api_key_header(req, conn)
Arguments
- req
a httr2 request object that is prepared for Qdrant REST API calls.
- conn
a connection object created by get_qdrant_connection()
Details
Adds a security header to connect to Qdrant instance with an API key.
The API key value is provided by the connection object obtained with get_qdrant_connection().
This function returns the request object along with the necessary header.