I would like to have a nancy rule that matches / captures all segments of the URL after the initial match.
For example, I would like to do this:
have a url: / views / viewname / pageid / visitid / someother
and a rule like this:
Get["/views/{view}/{all other values}"] = parameters => { string view = parameters.view; List<string> listOfOtherValues = all other parameters.. return ... };
listOfOtherValues ββin summary:
I would also like to do this for query parameters.
given the url: / views / viewname? pageid = 1 & visitid = 34 & someother = hello
then listOfOtherValues ββwill eventually be:
Is this even possible with Nancy?
source share