• Home
  • Jobs
  • Courses
  • Questions
  • Teachers
  • For business
  • ES/EN

0

26
Views
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

about 2 months ago ·

Santiago Trujillo

1 answers
Answer question

0

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

about 2 months ago · Santiago Trujillo Report
Answer question
Find remote jobs
Loading

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2022 PeakU Inc. All Rights Reserved.