Hello, I read that the API token is only valid for a hour. Is there already a solution available for a token which is valid until it’s deleted? I have some python scripts which are updating some values via the rest API.
So this call in my python script is correct?
headers = {'Content-type': 'text/plain', 'Accept': 'text/plain', "Authorization": "[token]"}
e = requests.post('http://localhost:8080/rest/items/number_BME280_humidity/', humidity_string, headers=headers)
Sorry for python i have to pass.