HTML form PUT method [duplicate]

Browsers only support POST and GET, if you need PUT, you have to send the form via post/get and then do the proper PUT request on server-side.

EDIT although, most implementations of XMLHttpRequest support PUT and DELETE.


PUT is not recognized and is assimilated to GET.

Most frameworks use a hidden input to obtain PUT or DELETE:

<input type="hidden" name="_method" value="PUT">