Hello everyone
I’m also trying to call home assistant through a curl command.
The script I try to call is “Ampli”, it helps me using a Broadlink RM4C Mini to send a command to my Denon Amplifier.
Here is my script.
curl -X POST -H "Authorization: password" -H "Content-Type: application/json" -d "{ \"entity_id\": \"script.Ampli\" }" http://192.168.1.2:8123/api/services/script/Ampli
I get the error “400: Bad Request”, do you have any idea what could provoke this error ?
Thanks
Manu