Is that possible to send JSON data over 2000 chars? My url length is 5260, and I get error GET 404(). Is there any solution to send this data in json?
update: {
url: ServiceBase + "Coating/updateTestResult",
dataType: "json",
complete: function (jqXHR, textStatus) {
if (jqXHR.status == "200") {
showNotification("Alert", "Records updated.", "upload-success");
} else {
showNotification("Error", "Couldn't update records.", "info");
}
}
}
if (operation === "update") {
$.each(dataSource._data, function () {
var row = $("#grid tbody").find("tr[data-uid='" + this.uid + "']");
if (row.hasClass("blur")) {
row.removeClass("blur");
}
this.dirty = false;
});
return { models: kendo.stringify(options.models) };
}
Try to perform a POST request instead. Max. URL length is 2000 chars (SO answer) that's why you get an error 404.