Actions
Send JavaScript » History » Revision 1
Revision 1/2
| Next »
Tomek Dziemidowicz, 2019-07-18 09:07 PM
Send JavaScript¶
$.ajax({
url: sqlitesync_SyncServerURL + "Send",
method: 'POST',
headers: {
'Content-Type':'application/json'
},
cache : false,
scope:this,
data: JSON.stringify({ "subscriber" : sqlitesync_syncPdaIdent, "content": sqlitesync_SyncDataToSend , "version" : "3" }),
dataType: 'json',
timeout: 5 * 60 * 1000,//10min
success: function (response, status) { //Success Callback
},
failure: function (result, request) {
}
});
Updated by Tomek Dziemidowicz over 5 years ago · 1 revisions
Go to top