4 ms·
You're probably aware of this, but for those that are not, you can easily get around this problem by adding a hidden form field with X-HTTP-Method-Override as t
by MatthewPhillips 14y ago
You're probably aware of this, but for those that are not, you can easily get around this problem by adding a hidden form field with X-HTTP-Method-Override as the name and the method as the value. Assuming your web server supports the field.
- MarceloRamos 14y agoAwesome, I don't know if I'll ever use it, but it's good to know.
- MatthewPhillips 14y agoIf 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>