You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
293 B
15 lines
293 B
2 years ago
|
package com.example.demo;
|
||
|
|
||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
||
|
@RestController
|
||
|
public class TestController {
|
||
|
|
||
|
@GetMapping("")
|
||
|
public String hello() {
|
||
|
return "hello!";
|
||
|
}
|
||
|
|
||
|
}
|