RESTful reset password and confirm email

前端 未结 7 1981
故里飘歌
故里飘歌 2021-02-08 08:36

im thinking what is the best RESTful way how confirm email and request reseting password. Im only aiming to find correct URI...

confirm email

PUT /users/{u

7条回答
  •  时光说笑
    2021-02-08 09:09

    I don't really see anything wrong with having confirmEmail like the 1st example. In the URL you have the key to the user, confirmEmail is the action, and the data with that action is in the query string.

提交回复
热议问题