implements common REST calls in wrapper