Friday, March 31, 2017

jQuery post POST became 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



via Fatas

Advertisement