not entirely sure why the route didn't match as expected, but I changed the 
route a bit and now it works

On Monday, April 14, 2014 11:10:14 AM UTC-4, Richard Sugg wrote:
>
> Here's routes with -v as well as the route manually defined at the bottom 
> (manual_check_password_user). The route at the bottom matches, and I 
> thought it should be the same as route "check_password_user":
>
> /api/2/domain/:domainid/project/:projid/user                             
> ....  *        api2domaindomainidprojectprojiduser 
>  ^/api/2/domain/([^\/\.]+)/project/([^\/\.]+)/user
>   +/                                                                     
> ....  POST     "create_user"                        ^(?:\.([^/]+)$)?
>   +/                                                                     
> ....  GET      "list_user"                          ^(?:\.([^/]+)$)?
>   +/:userid                                                             
>  ....  *        userid                               ^/([^\/\.]+)
>     +/                                                                   
> ....  GET      "show_user"                          ^(?:\.([^/]+)$)?
>     +/                                                                   
> ....  DELETE   "delete_user"                        ^(?:\.([^/]+)$)?
>     +/                                                                   
> ....  PUT      "update_user"                        ^(?:\.([^/]+)$)?
>     +/password                                                           
> ....  *        password                             ^/password
>       +/:password                                                       
>  ....  GET      "check_password_user"                ^/([^\/\.]+)
>         +/validate/:pw_b64                                               
> ....  GET      "validate_password_user"             ^/validate/([^\/\.]+)
>           +/change/:current_b64/:new_b64                                 
> ....  PUT      "change_password_user"               
> ^/change/([^\/\.]+)/([^\/\.]+)
>             +/reset                                                     
>  ....  PUT      "reset_password_user"                ^/reset(?:\.([^/]+)$)?
> /api/2/domain/:domainid/project/:projid/user/:userid/password/:password 
>  ....  GET      "manual_check_password_user"         
> ^/api/2/domain/([^\/\.]+)/project/([^\/\.]+)/user/([^\/\.]+)/password/([^\/\.]+)(?:\.([^/]+)$)?
>
>
>
> On Friday, April 11, 2014 12:01:48 PM UTC-4, sri wrote:
>>
>> I would recommend posting the output of "routes -v" rather than that of 
>> the 404 page.
>>
>>     http://mojolicio.us/perldoc/Mojolicious/Guides/Routing#Introspection
>>
>> It shows a lot more details.
>>
>> --
>> sebastian
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to