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