Spring Boot를 이용한 RESTful Web Service 개발 (2023-11-15)
Spring Boot 3.1.5 기준으로 구현되었습니다.
- 사용자 관리 API
- 전체 사용자 목록 조회: HTTP GET method, http://localhost:8088/users
- 개별 사용자 조회: HTTP GET method, http://localhost:8088/users/{id}
- 사용자 삭제: HTTP DELETE method, http://localhost:8088/users/{id}
- 사용자 정보 수정: HTTP PUT method, http://localhost:8088/users/{id}
- 게시물 관리 API
- 전체 게시물 목록 조회: HTTP GET method, http://localhost:8088/users/{id}/posts
- 게시물 삭제: HTTP DELETE method, http://localhost:8088/users/{id}/posts/{post_id}