Answer the question
In order to leave comments, you need to log in
Ajax request returns 404 laravel error?
when the button is pressed for the first time, the data goes to the server normally, but when the button is pressed again, an error
like
404 is returned
Data is sent by a post request, the post is registered everywhere. When sending a get request, everything works, but the data in the database does not change <a href="{{ route('data.obr', ['data' => 1]) }}">
Answer the question
In order to leave comments, you need to log in
And here is the usual link:
Where is ajax here and where is the post request (the form that sends it)?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question