kluck
06/03/2019, 1:29 PM@Location("/ios/upload")
object IOSUpload
fun Route.iOSUpload() {
authenticate {
get<IOSUpload> {
call.respondDefaultHtml(emptyList(), CacheControl.Visibility.Private) {
h2 { +"Upload iOS App" }
form(
action = call.url(IOSUpload),
classes = "pure-form-stacked",
encType = FormEncType.multipartFormData,
method = <http://FormMethod.post|FormMethod.post>
) { [...] }
}
}
post<IOSUpload> { [...] }
}
What am I missing?