API key in HTTP header – key:value
-
I need to connect JSON Content Importer to an API which requires a slightly different authentication format than what may currently be available on the “Basic Settings” page.
I get
“Missing Authorization field in HTTP-Header…”
and have tried the two different ways offered there, and some variations to transform to those formats, but without any luck so far.
I can connect and receive data from the endpoint with both Postman and cURL without any troubl
Postman: Authorization, Type = API Key, Key = some_access_key, Value = some_password.
cURL: curl –location ‘endpoint URL’ –header ‘some_access_key: some_password’
Apologies if I am doing it wrong, but I currently believe that in addition to
“Bearer Authorization:ACCESSKEY”
“Authorization:ACCESSKEY”I think I need
“Authorization: SOME_ACCESS_KEY:SOME_PASSWORD”in the header, and I do not understand how or if I can currently do that.
Cheers,
Haakon
- The topic ‘API key in HTTP header – key:value’ is closed to new replies.