Skip to content

Definition

A route is the mapping between a URL pattern and the code that handles it: a regex or template like /users/{id} that a framework matches against incoming requests to dispatch them to a controller or function.