Ktor project sample with Html/Html template DSL
To Run the application, use the default Run option in IDEA
IDE in the src/main/kotlin/ci/valde/Application.kt file.
With the application running we can test using the curl command to test the HTML response.
To check a response with the HTML template use:
curl localhost:8080/html-template
To check a response with the HTML dsl use:
curl localhost:8080/html-dsl