Here is the reference on how to still do that in OH2 from a standard GET request.
example from Samples REST · openhab/openhab1-addons Wiki · GitHub
http://192.168.1.1:8080/classicui/CMD?My_Switch=OFF
(the CMD moved to /classicui/CMD)
Here is the reference on how to still do that in OH2 from a standard GET request.
example from Samples REST · openhab/openhab1-addons Wiki · GitHub
http://192.168.1.1:8080/classicui/CMD?My_Switch=OFF
(the CMD moved to /classicui/CMD)