Spring boot mapping 설정
Class 차원에서 mapping 설정@RestController@RequestMapping("/image")public class ImageController extends HttpServlet {Method 차원에서 mapping 설정@RequestMapping("/one")public Member getOne(String test) {// GET 방식@GetMapping("/one")public void getOne(String test) {// POST 방식@PostMapping("/one")public void getOne(String test) {
2024.10.01