RestTemplate also supports dealing with responses and faults successfully. You should use the ResponseEntity class to get a lot more control around the response.
staying a strong and flexible framework, Spring Boot https://teganygby227774.blogocial.com/5-simple-statements-about-spring-boot-development-services-explained-66221194