Fork me on GitHub

routing is the process of taking a url and connecting it with some functionality. What do you think the limits are with the granularity of that connection? E.g Say i have an api that needs to support different functionality based on the value provided in a query param. /home?person=last-name:drew and also /home?person=1234239. I tend to think of routes handling only path params and query params as in it would recognize that person=drew but not try to do further parsing to dispatch to a given route based the value.