How to change an openhab switch with http-commands?

Here is the reference on how to still do that in OH2 from a standard GET request.
example from https://github.com/openhab/openhab1-addons/wiki/Samples-REST

http://192.168.1.1:8080/classicui/CMD?My_Switch=OFF

(the CMD moved to /classicui/CMD)

3 Likes