2 ms·
If you want to build a RESTful website, it's really hard to get around it. Consider logging out. You want to send a DELETE to /Session. So you can just do this
by MatthewPhillips 14y ago
If you want to build a RESTful website, it's really hard to get around it. Consider logging out. You want to send a DELETE to /Session. So you can just do this:
<form action="/Session" method="post">
<input name="X-HTTP-Method-Override" type="hidden" value="DELETE" />
<input type="submit" value="Log off" />
</form>