[Vuejs]-Account confirmation email

0👍

Good start on this! It looks like you may be calling your API enpdoint incorrectly, though. The endpoint in question is '/reactivate/:email' which implies that you need to use the endpoint like this:

api.get('/reactivate/user@gmail.com')

instead of

api.post("/account/reactivate/", email)

and your API will process that email address as the req.params.email.

Note I’m using a GET request, not a POST request and just including the email address and part of the endpoint.

Leave a comment