-
Notifications
You must be signed in to change notification settings - Fork 3
Fetch data from cache
Piyush Chaudhari edited this page Sep 13, 2018
·
2 revisions
Run Spring Boot Application.
Fetch data from cache we need to use below REST API CountryController.java as below.
URL: http://localhost:8080/v1/country/list
Method: GET
Response: { "countryList":[ { "id":1, "name":"Australia" }, { "id":2, "name":"Brazil" }, { "id":3, "name":"Canada" }, { "id":4, "name":"Denmark" }, { "id":5, "name":"Egypt" } ] }