You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes doesn't support the any method as they do for: get, post, put and delete. This is a very handy catchall function and should be available on classes as well as on functions.
The text was updated successfully, but these errors were encountered:
This should act as a fallback if the given HTTP Method is not identified but the class has an any method implemented. There is no other use to this other than that, in my opinion.
I've researched this, I don't believe the changes in the architecture will pay its cost. The router sends the requested HTTP method to the routes (the one from the browser), changing it to pass the declared one as well (since both are needed for this verification to work) would be complicated.
Serving the same thing for every http method in a route isn't RESTful as well. I wonder how many users really need this. Closing the issue 'til someone misses it.
Classes doesn't support the any method as they do for: get, post, put and delete. This is a very handy catchall function and should be available on classes as well as on functions.
The text was updated successfully, but these errors were encountered: