Installing routing

The most important feature is routing, in which we specify the URLs that the application is going to handle. It is a feature that is installed into an application to simplify and structure page requests handling. There are a couple of ways to specify the URLs.

The get, post, put, delete, head, and options functions are convenient shortcuts for a flexible and powerful routing system to specify any HTTP method such as GET and POST.

It is built in a DSL manner.

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.