开发者

Forgot Password REST resource

开发者 https://www.devze.com 2023-03-19 07:46 出处:网络
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?

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

精彩评论

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