playing with rest api