asp.net - What is limit of data that can be passed with jQuery ajax GET request -


this cross-domain request rest service:

$.ajax({                 type: "get",                 datatype: "jsonp",                 contenttype: "application/javascript",                 data: d,                 //crossdomain: true,                 async: false,                 url:"http://xx.xx.xx.xx/myservice/myservice.svc/getdata",                 success: function (jsondata) {                     console.log(jsondata);                     alert('hello');                 },                 complete: function (request, textstatus) {                     console.log(request.responsetext);                     console.log(textstatus);                 },                 error: function (request, textstatus, errorthrown) {                     console.log(request.responsetext);                     console.log(textstatus);                     console.log(errorthrown);                 } });  

here, data: d how data can send? there limit?

browser limit: varies browser. http standards not impose limit. ie8 limit 2,083 chars. firefox supports higher limits.

web servers impose own limit configurable. think 2048 bytes iis.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -