methodtRestDispatcher.AddRoute
procedure AddRoute(const aMethod, aTemplate: string; const aHandler: iRestHandler; aAuthExempt: Boolean = False);
Registers aHandler for aMethod + aTemplate, e.g. AddRoute('GET', '/orders/(id)', lOrders) - with the capture in braces, which this comment cannot show. Literal segments match raw and exact; a brace-wrapped segment captures. Malformed templates raise at registration, where the mistake is on the screen. Registering the same method + shape again REPLACES the handler, matching the router's own convention. aAuthExempt skips the Authenticate seam for this route - health checks, discovery documents. Methods are case-sensitive tokens: 'GET', not 'get'.