So, we have a link to unsubscribe - this is an HTTP GET by nature.
the corresponding RFC says that this should be idempotent, but, in my opinion, what the user expects is that they click the link to make a decision.
I implemented this so that the link takes you to a page with a large confirmation button, which then updates your subscription, confirms this and displays the final status of your account (we have more than one type of subscription)
But I wonder if this will not be the best UX if a person just skips the confirmation button button ...
The answer to the question: "Am I up to something?" certainly yes, but I wondered what people are considering in order to balance the best practice of the GET idempotent with the best practice not to confuse users' expectations ...
Paul d'ambra
source share