On Sun, 31 May 2015 23:29:00 GMT, Zdeněk wrote:

Hello everybody,

is it possible to access the query parameters that weren't bound to any parameters of a REST method, without using @before?

I'm thinking of something like this:

@queryParam("foo", "foo)
void aMethod(string foo, string[string] params)
{
    writeln("foo is ", foo);
    writeln("params is ", params);
}

With a URL like this:

/aMethod?foo=bar&a=4&b7

Would result in the function printing the following:

foo is bar
params is ["a":"4", "b":"7"]

Thanks,
Zdeněk

Short answer: no (ATM)
I didn't think about this use case. Could you expand on why you need it ?