can we have just one resource cfc ( user.cfc ), and have 3 functions inside it? login, resetPassword, forgotPassword & URIs will be /login , /resetpassword & /forgotpassword
As far as, I know, there is no way to keep different URIs point to a single CFC. One URI to one CFC, All verbs will be handled for that URI will be there in that CFC.
For example, /artists will be URI, we need a one CFC for this URI as artisit.cfc , then get, post, delete & put will be methods in that CFCs
If my above statement is correct, We could handle it only via some URL rewrite rules. Please let me know, is there any other better ways to handle it