Created
May 24, 2013 21:04
-
-
Save trumball/5646509 to your computer and use it in GitHub Desktop.
Form PUT
This is the correct way to use PUT and DELETE in a HTML form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="POST"> | |
<input type="hidden" name="_METHOD" value="PUT"/> | |
</form> | |
<form method="POST"> | |
<input type="hidden" name="_METHOD" value="DELETE"/> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment