Hacker News new | ask | show | jobs
by williamdclt 671 days ago
why avoid so hard to make it a `submit` for a `<form method="POST" action="/logout">`, which is semantically correct and removes all the need for any javascript (logouts have never needed JS after all)?
1 comments

because you often need to send a DELETE verb not POST