我正在使用 Apache Open 会议,我已经成功地使用了它的方法,除了注册,因为我无法通过 URL 发送用户的对象如何更改我的服务器的设置以发送特殊字符,如“{”和“[” ? 我有 red5 服务器和 apache-openmeetings-3.1.5 版本
function sign_up(){
$.ajax({
method : "GET",
url : url_domain + "openmeetings/services/user/login",
data : {
user : 'omar',
pass : 'omar'
},
dataType : "json",
success : function(data) {
sid = data["serviceResult"]["message"];
user = JSON.stringify({"address":{"country":"US","deleted":false,"email":"omar-bahri-it@hotmail.com","id":null},"firstname":"soso","id":null,"languageId":1,"lastname":"sosos","login":"sosos","rights":["Room","Soap","Admin","Dashboard","Login"],"timeZoneId":"Europe/Berlin","type":"user"});
//user = null;
confirm = false;
$.ajax({
method : "POST",
url : url_domain + "openmeetings/services/user?sid="+sid+"&user="+user+"&confirm="+confirm,
data : {
},
dataType : "json",
success : function(data2) {
$("#res5").html(data2);
}
});
}
});
}