http://qs321.pair.com?node_id=11133951


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.