Spring/Spring Webflux1 Spring에서 외부 HTTP API와 연동하기 안녕하세요 졸린개발자입니다. 오늘은 Spring에서 외부 HTTP API와 연동하는 법에 대해서 알아보겠습니다. Spring에는 외부의 http API와 통신하기 위해 RestTemplate, WebClient를 지원해줍니다. 이때 개발자는 2개중에 하나를 선택해야하는데 Spring에서는 WebClient를 추천합니다 RestTemplate 코드의 주석을 보면 다음과 같이 되어있습니다. NOTE: As of 5.0 this class is in maintenance mode, with only minor requests for changes and bugs to be accepted going forward. Please, consider using the org.springframework.web.re.. 2022. 4. 16. 이전 1 다음