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
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:
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.
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: