client rest