in reply to Re^2: How can i capture the site_id in Dancer 2 app?
in thread How can i capture the site_id in Dancer 2 app?
"when i ran below code its not printing the site_id "
How exactly did you run the code? You understand that :site_id is meant to represent a value in the URL?
Something like: $ curl localhost:3000/42
The way forward always starts with a minimal test.
|
---|
Replies are listed 'Best First'. | |
---|---|
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Seekers of Perl Wisdom