Join Slack
Communities
Powered by
Heya.. wondering if anyone knows of a way to creat...
# ktor
m
mplacona
07/31/2018, 11:53 PM
Heya.. wondering if anyone knows of a way to create routes with ktor that accept both
GET
or
POST
, so something like:
Copy code
get("/") { call.respondText("Hello Ktor!", ContentType.Text.Html) }
Would work with both
Open in Slack
Previous
Next