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