15 lines
332 B
Java
15 lines
332 B
Java
package ch.usi.inf.sa4.sanmarinoes.smarthut;
|
|
|
|
import org.springframework.boot.*;
|
|
import org.springframework.boot.autoconfigure.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
@RestController
|
|
@EnableAutoConfiguration
|
|
public class HelloWorld {
|
|
|
|
@RequestMapping("/")
|
|
String home() {
|
|
return "Hello World!";
|
|
}
|
|
} |