GET1 Spring boot - 2. REST API GET 구현하기 이전 포스트 - 2020/03/19 - [개발 관련 지식/JAVA] - Spring boot - 1. 프로젝트 만들기 - IntelliJ Spring boot 프로젝트에 Controller 패키지를 만들자 생성한 controller 패키지 안에 controller 자바 파일을 만들자. GetController라는 이름으로 만들었다. 그리고 GetController.java 안에 다음 코드를 넣자. package com.example.test.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.s.. 2020. 3. 19. 이전 1 다음