Hi everyone,
I’ve been trying to add a RESTful sensor to my home assistant, and have encountered a problem with the access token.
I got the sensor working by adding the access token to the end of URL (?access_token=MYACCESSTOKEN).
However, now I need to move the access token into RESTful headers. And when I try to do
headers:
access_token: MYACCESSTOKEN
the home assistant gives an error as “Access token is missing”.
I tried a few other ways such as
headers:
authentication: Bearer MYACCESSTOKEN
But still no luck.
Can someone please help me?