Current paradigm of email verification:
- Send an email to the user containing a link with a token.
- User opens the email and clicks on the link.
- User resource updated with the new verified email.
In step 2, a GET request is being performed to get the resource, for example
GET /email-verification/{token}
Since the resource is being updated behind the scenes, doesn't it break the RESTful approach ?
Is this the common approach ?
Doing POST/PATCH requests from email would require a form and i'm not sure email clients support it.