开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜