Calling engine

Report a typo

Let's say we use such a data class to represent products in an online store:

data class Good(val name: String, val price: Int)

What should be substituted instead of a colon to display product data on the page good.html?

get("/good/{id}") {
    val good = Good("banana", 120)
    call.respond(...)
}
Select one option from the list
___

Create a free account to access the full topic