Trouble with passing json in the url in Rest calls
I currently have a url: http://172.20.100.3/cgi-bin/json.cgi?json={"method": "broadcaston", "params": [1], "id": 10}
This is for lighting control, and the json controls what happens with the lights and returns a json when you go to the web page. I am currently using the GetJson snippet and passing in the json.
var Mycontent = {
"method" : "broadcastoff",
"params" : "[1]",
"id" : "30"
}
var params = {
url: "http://172.20.100.3/cgi-bin/json.cgi?json=",
content: Mycontent,
};
var result = Resources["ContentLoaderFunctions"].GetJSON(params);
All that is being returned is - {"headers":""}
Any help with where I'm going wrong would be greatly appreciated.

