2
I have a route that was working normally and stopped working for no apparent reason. It has the following configuration:
Route::put('/clientes', 'Clientes@update');
The mistake I get is:
Method Not Allowed
The requested method PUT is not allowed for the URL /clientes/.
If I simply change the url to:
/anything
It works normally, someone can explain this problem, because it doesn’t make any sense to me. When I run the command "php Artisan Routes" the route is there, but I always get this error. Someone can give me a light?
Note: I already have several routes working in these patterns.
Why do you wear
Route::put()
? Theput
specifically.– Diego Souza