request data from rest