All http request in a browser use a GET
sample command http request - http://192.168.1.90:80/api/devices/6/action/turnOff
This is what I use to control one lamp (screenshots attached)
3 x Commands
-
Lamp On
-
Lamp Off
-
Lamp Status
1 x Sensor
- to use the status
1 x switch
- to tie them all together
Hope this helps