post
fun Route.post(
path: String,
body: PipelineInterceptor<Unit, ApplicationCall>
): Route
Builds a route to match POST
requests with specified path
@JvmName("postTyped") inline fun <reified R : Any> Route.post(
path: String,
crossinline body: suspend PipelineContext<Unit, ApplicationCall>.(R) -> Unit
): Route
Builds a route to match POST
requests with specified path receiving request body content of type R
fun Route.post(
body: PipelineInterceptor<Unit, ApplicationCall>
): Route
Builds a route to match POST
requests