Adding link to the Authentication docs

Adding a link to the authentication docs, to make it more obvious. Also explained that the LLAT replaces just ABCDEFGH
This commit is contained in:
DubhAd 2019-01-21 20:32:16 +00:00 committed by GitHub
parent d33bd6be51
commit c4d673c101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ If you are not using the [`frontend`](https://www.home-assistant.io/components/f
The API accepts and returns only JSON encoded objects. The API accepts and returns only JSON encoded objects.
All API calls have to be accompanied by the header `Authorization: Bearer ABCDEFGH`. You can obtain a token ("Long-Lived Access Token") by logging into the frontend using a web browser, and going to your profile `http://IP_ADDRESS:8123/profile`. All API calls have to be accompanied by the header `Authorization: Bearer ABCDEFGH`, where `ABCDEFGH` is replaced by your token. You can obtain a token ("Long-Lived Access Token") by logging into the frontend using a web browser, and going to [your profile](https://www.home-assistant.io/docs/authentication/#your-account-profile) `http://IP_ADDRESS:8123/profile`.
There are multiple ways to consume the Home Assistant Rest API. One is with `curl`: There are multiple ways to consume the Home Assistant Rest API. One is with `curl`: