Client for REST API