-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP method matching #151
Comments
No, this feature is not available in Cutelyst at the moment. You can do a PR so that I can review or wait for to have a look at how to implement this without sacrificing performance of current requests. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any alternative to :ActionClass(REST) in Cutelyst for HTTP method matching?
https://stackoverflow.com/a/20914232
http://www.catalystframework.org/calendar/2013/3
Sometimes I have to make a POST request with query embedded in body for getting things. I mean that this method is a getter (logically), so I'd like to have an alias.
POST get_stuff
instead of stuff_POST.
So, I don't want Controller methods to contain HTTP postfix (like "_POST"), I'd like to have an attribute instead.
The text was updated successfully, but these errors were encountered: