Implement inn rest call