playing with getting data from restful api