$.post("http://" + window.control_ip + ":8080/loop-mode", "data", null, "text")
I’m not sure why it is formatting as an XML request. When I use a plain HTML call like the one below it works perfectly. Any idea how I could use a script like the one below in Hype?
<a onClick="$.post('http://10.10.154.104:8080/loop_mode');return false;" href="">power-on</a><br />