form

fun Request.form(name: String): String?

Returns the first form parameter with name.

Use formAsMap if you don't want to decode the body every invocation.


fun Request.form(name: String, value: String?): Request
fun Request.form(vararg formData: Pair<String, String?>): Request