Consume rest service