Skip to content

Reset Password

Petar Scepanovic edited this page Jan 7, 2020 · 7 revisions

For resetting the password send the POST request at http://localhost:9000/resetpassword

Tested in Postman

Example of request:

{
  "email": "[email protected]",
	"password": "password111"

}

Response:

"Email sent to [email protected]"

Go back to your email inbox and click the link reset password that will lead you to artfunder website URL.

Copy the token from the URL and paste it to this endpoint, after newpassword : http://localhost:9000/newpassword

Send as PATCH request, an example: http://localhost:9000/newpasswordtoken=05267530aec1d0c4dedfce5c973008e12c8eecd1

Example of request:

{
"password": "password100"
}

Response:

"Password reset was succesful"

Log in with the new credentials

Clone this wiki locally