Match the RESTful API method to CRUD function.