Z
Z
zepy2018-05-31 16:52:34
Laravel
zepy, 2018-05-31 16:52:34

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

1 answer(s)
A
Alexander Aksentiev, 2018-05-31
@Sanasol

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 question

Ask a Question

731 491 924 answers to any question