andreybavt's picture
changes
b960f03
raw
history blame
387 Bytes
package ai.giskard.learnspringwebsockets;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController("/")
public class IndexController {
@GetMapping("")
public String index() {
return "Hello world!";
}
@GetMapping("test")
public String test() {
return "test";
}
}