post

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

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