Forgot Password REST resource
What is the best practice for implementing a REST call for sending out a pass开发者_StackOverflow社区word. By this I mean what is best practice for having this as a resource?
/User/ForgotPassword
and then post in the email address for it to be sent to?
To me that seems a little to unRESTful...thoughts.
Kind of a silly questions, but curious what people have to say.
Thanks!
I created a new resource Email.
Figure this could be used for multiple types of emails that the system will have to send out.
Can also be called on the user resource /Users/Emails
精彩评论