DEV Community

Discussion on: How do you feel about the "misuse" of HTTP methods?

Collapse
 
dashbarkhuss profile image
Dashiell Bark-Huss • Edited

"what else are you going to do"- The way to do it inline with HTTP standards is that the email link sends the user to a form where they click "confirm email" and that form sends a patch request. If you instead alter the resource in email GET link the action might be triggered without user interaction, "e.g. by a malware scanner, link previewer, or cache primer". To what degree this is actually an issue I'm not sure because many apis use GET regardless and it seems to work enough for them to continue doing it.