problem with retrieving fron restapi solved