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
Post a Comment