Use POST instead of GET request to synchronise groups
This commit is contained in:
parent
a2e33ea274
commit
fe92325853
1 changed files with 3 additions and 2 deletions
|
@ -404,7 +404,7 @@ function SyncServer() {
|
||||||
this.email=email;
|
this.email=email;
|
||||||
this.password=password;
|
this.password=password;
|
||||||
try {
|
try {
|
||||||
jQuery.getJSON(
|
jQuery.post(
|
||||||
this.url+'/sync',
|
this.url+'/sync',
|
||||||
{
|
{
|
||||||
'email':email,
|
'email':email,
|
||||||
|
@ -421,7 +421,8 @@ function SyncServer() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onerror(data);
|
onerror(data);
|
||||||
}
|
},
|
||||||
|
'json'
|
||||||
).fail(onerror);
|
).fail(onerror);
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
|
|
Loading…
Reference in a new issue