我正在使用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);
}
});
}
});
}