Organize the controller code so that the backend can respond with "Welcome to the Backend with Kotlin and Hyperskill"
Introduction to back-end development with Kotlin
Backend Boilerplate
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
@GetMapping("/welcome")
class HelloController {
@RestController
return "Welcome to the Backend with Kotlin and Hyperskill"
}
}
fun welcome(): String {
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.