Good afternoon
I use a cloud service that allows me to get data via api
to do this, i need to log in using their method, as a result they give me a token
the token is deleted after 20 minutes of inactivity
There is a login, password, post method
i would like to set up a RESTful Sensor to get these data in homeassistant
tried to do like this:
sensor:
- platform: rest
resource: https://api.owencloud.ru/v1/auth/open
method: POST
username: ***@gmail.com
password: *****
authentication: basic