conf/routes maps HTTP method + path to a controller action. The file is compiled: typos and type mismatches fail the build, and Play generates a reverse router (routes.ProductController.show(42)) so links are never hard-coded. Pattern Example Static GET /products Dynamic part GET /products/:id → show(id: Long) Spanning slashes GET /files/path Regex GET /items/$id<[0-9]+> Query parameter list(page: Int ?= 1, q: String ?= "") Optional search(tag: java.util.Optional[String]) Request injection create(request: Request) Routes are matched top to bottom — put specific routes before generic ones. Split large apps with -> /api api.Routes.