
[ Spring Boot ] Request 처리 (기본)
·
Web Development/Spring Boot
▶ Title - Client에서 Request를 받아오고, Body안에 담긴 데이터들 출력(확인)하기. ▷ 1 - Rest API Controller 생성// ( Signup_API.java )@RestControllerpublic class Signup_API {}→ 작업 내용: - Signup_API class 생성 - @RestController Annotatoin 추가 → 작업 이유: - Request를 처리할 REST API를 생성하여야 하기 때문 → 설명: - @RestController Annotation: REST API로 활용하고 싶은 class 앞에 @RestController Annotation을 작성하면 ..