본문 바로가기 메뉴 바로가기

공.감.개.발.자-Thinking.Dev

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

공.감.개.발.자-Thinking.Dev

검색하기 폼
  • 전체보기 (180)
    • HTML5-CSS (27)
    • LIBRARY-PLUGIN (11)
    • PROGRAMMING (23)
    • DBMS (4)
    • TOOLS (2)
    • APPLICATION (8)
    • AI(인공지능) (3)
    • 가상모델 시나리오 (1)
    • SERVER (34)
    • ETC (45)
    • UI-UX-GUI (4)
    • SERVICE (11)
    • KNOU (7)
      • 클라우드컴퓨팅 (5)
      • 머신러닝 (1)
      • 인공지능 (1)
  • 방명록

springboot (2)
Spring Boot를 이용한 REST API 구현 예시

// 필요한 import문 생략 @RestController @RequestMapping("/api") public class ApiController { @Autowired private UserService userService; @GetMapping("/users") public List getAllUsers() { return userService.getAllUsers(); } @GetMapping("/users/{id}") public ResponseEntity getUserById(@PathVariable Long id) { User user = userService.getUserById(id); if (user != null) { return ResponseEntity.ok(user); } ..

PROGRAMMING 2024. 2. 4. 11:10
Spring Boot Tutorials

1. Spring MVC or Web application. Spring Boot MVC Hello World Example – Thymeleaf Spring MVC Validation Example Spring MVC + Spring Security Example Spring MVC Form Handling Example Spring MVC Integration Test Example Spring MVC + Spring Security Example Need Update Spring MVC + Spring Security + login via database Spring MVC – Create a WAR file for deployment Kotlin + Spring MVC Example 2. Spri..

PROGRAMMING 2021. 6. 11. 14:24
이전 1 다음
이전 다음

Blog is Powered by 2011 DEVLUV

티스토리툴바