rest client core