I was checking out the docs today and noticed a couple parts of the bearer authorization example which could be improved.
The correct format is Authorization: <type> <credentials>, which actually what is written in the code as Authorization: Bearer <api token>. Unfortunately it seems like the rendering engine is stripping that syntax:
I changed <> to {}, not sure if this will fix it, just picked different symbols 🤷♂️ 😆
In the example it's written 'Authorization': 'oa.1234-your-token-here-5678' which I believe should be 'Authorization': 'Bearer oa.1234-your-token-here-5678'?
Heya,
I was checking out the docs today and noticed a couple parts of the bearer authorization example which could be improved.
The correct format is
Authorization: <type> <credentials>
, which actually what is written in the code asAuthorization: Bearer <api token>
. Unfortunately it seems like the rendering engine is stripping that syntax:I changed
<>
to{}
, not sure if this will fix it, just picked different symbols 🤷♂️ 😆In the example it's written
'Authorization': 'oa.1234-your-token-here-5678'
which I believe should be'Authorization': 'Bearer oa.1234-your-token-here-5678'
?