added rest client example