In this tutorial, you will learn how to call a REST API in Spring Boot using the REST template. This is a good way to make a request to a public API or to another microservice in your distributed architecture.
- The Dashboard service will need to be started first and runs on port 8081.
- The Todo service will make a request to JSON Placeholder and will persist those results to an in-memory database. This service runs on port 8080.