REST client implemented