JSON 数据树:
test-get.html:
输入 appId : https://.wilddogio.com
JSON 数据树:
test-set.html
输入 appId : https://.wilddogio.com
JSON 数据树:
<br>
script:<br>----------------------------------<br>
<pre>
function onValue2() {
var appId = document.getElementById("appId").value;
var url = "https://" +appId+ ".wilddogio.com/msg/m";
var ref = new Wilddog(url);
ref.set({
"name" : "Jack Bauer",
"age" : 32,
"location" : {
"city" : "beijing",
"zip" : 100000
}
});
}
</pre>