How to specify DELETE method in a link or form?

Viewed 99187

Rfc2616 lists many methods besides GET and POST, like, say, DELETE, PUT etc. Method field in html forms, though, seems to be allowed to specify only GET or POST.

Is it possible to create a link or form in a html page that uses a request method that is not GET or POST?

6 Answers

just add a data-method attribute,<a data-method='put' href='whatever'>link</a>

Related