weixin_33676492 2017-03-31 18:52 采纳率: 0%
浏览 203

jQuery post POST变成GET

Strange situation

i send date with jQuery post

$.post('/headline/', {date : 'some content'});

But server header show that request is GET instead POST.

Local version works fine, but when upload to server then POST became GET

Other post requests works fine, just this one not working

P.s. backed is Laravel

  • 写回答

1条回答 默认 最新

  • weixin_33726313 2017-03-31 19:19
    关注

    Can you try to remove the trailing slash on server side? This is just on a whim though

    评论

报告相同问题?