I have a device that has an inbuilt http server which allows you to turn things ON/OFF through HTTP: (just an example below)
ON: http://IPADR/device1/on
OFF:http://IPADR/device1/off
Whats the best way to control this? Can i create a virtual button of some sort for this?