|
|
|
|
|
by dalore
2685 days ago
|
|
It's not about idempotency, but about side effects. The standards mention if it will cause side effects use POST. Logging out does cause side effect (you lose your login) and hence should be a POST. In the old days it might have been acceptable to get away with a GET request but these days thanks to prefetching (like this very topic) it's frowned upon. https://stackoverflow.com/questions/3521290/logout-get-or-po... |
|