retrive item from rest api