homebridge-cmdswitch2
homebridge-cmdswitch2 copied to clipboard
application/json
how can I set the curl command?
curl -H "Content-Type: application/json" -X POST -d '{"power": true}' http://192.168.178.170/api
Can you elaborate more?