Sending parameters through URL


#1

Hello. I wanna send a parameter to external page (192.168.1.68/led_status.html). This parameter will be 0 or 1.

In HTML is something like this:
function send_status(value) {
location.href='http://192.168.1.68/led_status.html?led=’+value;
}
LED Controller
input type=“radio” onClick=“send_status(1)” > ON
input type=“radio” onClick=“send_status(0)” > OFF

Somebody can help me. Thank you in advance