I created 3 functions: findOne, create and update. Respectively the methods are GET, POST, PUT.
findOne
create
update
GET
POST
PUT