Routing refers to how an application’s endpoints (URIs) respond to client requests
You define routing
using methods of the Express
app object that correspond to HTTP methods
URI
vs URL
URI (identify) and URL (locate)
URL
is a URI
, but URI
s are not URL
sTrailing slash is a different route than without
/api/service_name
/api/service_name/
Trailing slash potentially leads to 307 Temporary Redirect
error.