When I try to access it from the webpage http://localhost:5000?username=foo&password=bar I am getting 404 error
? Hmm, how does that url relate to this one get '/login:username:password' ?
If you remove the host there is only ?user... ... which doesn't look like /login....
See https://metacpan.org/pod/Dancer2::Manual#Declaring-Routes, URI
In reply to Re: Dancer2 Parameter Matching Failed
by Anonymous Monk
in thread Dancer2 Parameter Matching Failed
by akuk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |