数据表和ASP.net - HTTP错误404.15 - 未找到

时间:2017-06-26 20:09:02

标签: javascript asp.net datatables

我的数据表请求占用了太长的网址,如下所示:

http://localhost:12527/MyHandler.ashx?draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D= ... And a long url here... 我收到HTTP错误404.15 - 未找到。有没有办法删除这些不必要的参数以允许服务器进程DataTables请求?

1 个答案:

答案 0 :(得分:0)

将表单操作从HTTP GET更改为HTTP POST。