The RESTful API to get the data from server