Samples of code Docs - spring documentation call rest api - call a REST API in Spring Boot using the REST template