Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using GET for non-idempotent generally considered bad, but it seems that email is a place that non-idempotent GET is still used. I often see it on unsubscribe link.


> I often see it on unsubscribe link.

Those are meant to load a page with a confirmation form that makes a POST request. The GET link can still expire over time, but must never be expired from a GET request: you never know when a link preview bot is going to follow links.


Yeah, fair enough, I do run into those occasionally too, but most of them these days make sure to require at least a confirmation click.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: