▸ 코드 카타 ▸ @PathVariable 과 @RequestParam 차이점
2024년 1월 24일 - https://velog.io/@ozlljin/프로그래머스-12
📍@PathVariable
@GetMapping("/users/{userId}") public String getUser(@PathVariable Long userId) { // 메소드 내에서 userId 사용 // ... }
📍@RequestParam