Unable to connect to CosmosDB with HTTP-request

Has anyone managed to connect to CosmosDB with HTTP-request?

This is the error message I get from HTTP-activity using AccessKey in OAuth2:

“message”: “Authorization header doesn’t confirm to the required format. Please verify and try again.\r\nActivityId: 95ff958d-1850-4a1a-aa84-a821bd1b2c12, Windows/10.0.17763 cosmos-netstandard-sdk/3.18.0”

I can manage to access the DB using ODBC driver but then i cannot drill down in the JSON format so it doesn’t work.