in reply to Re: How can i capture the site_id in Dancer 2 app?
in thread How can i capture the site_id in Dancer 2 app?

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: How can i capture the site_id in Dancer 2 app?
by 1nickt (Canon) on Jun 17, 2021 at 11:17 UTC

    "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.
    A reply falls below the community's threshold of quality. You may see it by logging in.