Creating the REST API Service
I am going to show how to call a REST
API to get the data for the ViewModel
. There is a great fake online REST
API for testing and prototyping: https://jsonplaceholder.typicode.com. For example, if we call this URL: https://jsonplaceholder.typicode.com/posts, we will get the data like this:
Last updated