get

abstract fun get(path: String, handler: Value)

Register a GET route handler at path. The handler must be a function and will receive two parameters (ExpressRequest and ExpressResponse, respectively).