jQuery的post方法提的請求怎么在服務器被識別成get請求了
$.post(seckill.URL.exposer(seckillId),{},function(result){...}); ?明明是post方法,但是開發者工具報錯說Failed to load resource: http://localhost:8080/seckill/seckill/1000/exposer :?the server responded with a status of 406 ()。( 我用的是eclipse,URL里面包括工程名和模塊名的。)
2017-01-12
已經自己解決了……URL寫錯了。