Website | Source

Hello world

import spark.kotlin.*

fun main(args: Array<String>) {
    val http: Http = ignite()

    http.get("/hello") {
        "Hello Spark Kotlin!"
    }
}


Tags: backend   jvm  

Last modified 09 February 2024