@dex857 wrote:
curl -X GET -H ‘Content-Type: application/json’ ‘http://my-ip:8123/api/states/aeon_labs_dsb09104_home_energy_meter_energy_3?api_password=token’ -o /config/tmp/energybaseline.txt"
I get a 403 FORBIDDEN error written to the file energybaseline.txt
Where PASSWORD is I am using the raw token from long live token.Did lot o reading and tried lots o variations of the above curl with the same result.
I call the curl from a script. which is called from an automation.
that all goes fine I Just get 403 forbidden written to the file.Thanks in advance for any help…
Posts: 1
Participants: 1