Created
November 7, 2019 09:39
-
-
Save devarajchidambaram/aaeb27d650991ea8ae2b3f303f4b7acf to your computer and use it in GitHub Desktop.
method Override
This file contains 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
Following four HTTP methods are commonly used in REST. | |
• GET - This is to provide a read-only access to resource. | |
• PUT - This is to create a new resource | |
• DELETE - This is to remove a resource | |
• POST - This is to update a existing resource or create a new resource. | |
When we try to use PUT and DELETE in HTML, we have a problem. Browsers do support PUT and DELETE but it only by using request via AJAX, but not via 'HTML form' submission. | |
https://dev.to/moz5691/method-override-for-put-and-delete-in-html-3fp2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment