매핑시 주소 여러개 설정하기

조승현·2022년 8월 30일
0

@GetMapping({"/hello","/"})
localhost라고 요청해도 되고
localhost/hello라고 요청해도 나온다

profile
소통을 좋아하는 개발자입니다

0개의 댓글