playing with REST api