On Fri, 09 May 2014 07:42:17 GMT, Darius Clark wrote:

Hello,

Thank you for your reply. I am looking through the example, and would like to know if theres a way to accept something like /example/:id ? Do I use "HTTPServerResponse res" to fetch the params from the url along with any other parameters?

This can be done using an explicit path and "generic" parameters prefixed with an underscore. I'll add a proper example to the documentation.

@path("/example/:id")
void getExample(int _id)
{
    // ...
}