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 07 October 2024