-
Notifications
You must be signed in to change notification settings - Fork 31
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
multiple route_param example #81
Comments
I think it's related to #77 |
yes, I suspected...
|
Yes, exactly. Once I fix it. Unfortunately I had no time yet to work on it, but it's my priority to fix. |
Here is a better example: params requires => { name => 'id', type => Int };
route_param id => sub {
get sub { ... };
params requires => { name => 'sub_id', type => Int };
route_param sub_id => sub {
...
};
}; Also extended documentation: https://github.com/khrt/Raisin/blob/93e806c/lib/Raisin.pm#L458 |
Fix for #77 was merged and realised to CPAN, see Raisin 0.87 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm wondering if an API call like this could be done and how...
GET http://example/api/:id1/:id2/:id3
The goal is to receive the three route_param id1, id2 and id3 in the get sub {} and then process them as needed...
Thanks.
The text was updated successfully, but these errors were encountered: