in site/js/project_editor.js [60:73]
function postREST(json, oform) {
var form = new FormData(oform)
var xmlHttp = null;
if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
} else {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
for (i in json) {
form.append(i, json[i])
}
xmlHttp.open("POST", "/edit/save.py", false);
xmlHttp.send(form);
}