Rest route method to pass