Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: How can i capture the site_id in Dancer 2 app?

by 1nickt (Abbot)
on Jun 17, 2021 at 11:17 UTC ( #11133951=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133951]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2021-10-20 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (81 votes). Check out past polls.

    Notices?