Call a REST API from Spring Boot: How to use the RestTemplate