In most places, the term
route is associated with a certain path you can take to get to your destination. When driving from point A to B, for instance, you
may have the option of several different routes. A route is a very specific
path between the two points.
In hapi and other frameworks, a route is a specific path that a request takes. On a website, the number of characters you can write after the address hapi-plugins.com are only limited to the number of characters your browser will support. But in order to send a request and actually get a response for what you’re looking for, you need to know the route of where to send the request. The query then travels through a known path within the framework, and a response is returned ...