Welcome Guest, Not a member yet? Register   Sign In
Error 'Can't find a route for GET' on Ajax POST
#6

(09-20-2023, 06:26 PM)legendarypokemon69 Wrote: I use POST for the form, why should I have GET route?

Because you request it. If it is really not needed, your JavaScript seems to send unneeded GET request.

(09-20-2023, 06:26 PM)legendarypokemon69 Wrote: I've tried replacing my POST route to GET, the form can run but does not save to the database

Because you removed the POST route.
Reply


Messages In This Thread
RE: Error 'Can't find a route for GET' on Ajax POST - by kenjis - 09-20-2023, 06:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB