homebridge-cmdswitch2 icon indicating copy to clipboard operation
homebridge-cmdswitch2 copied to clipboard

application/json

Open matzZz opened this issue 5 years ago • 1 comments

how can I set the curl command?

curl -H "Content-Type: application/json" -X POST -d '{"power": true}' http://192.168.178.170/api

matzZz avatar Oct 10 '19 22:10 matzZz

Can you elaborate more?

aesign avatar Oct 16 '19 00:10 aesign