Open brechtvdv opened 5 years ago
That is a very good point. We should add a slide to the Web architecture class (or possibly Web APIs), in which we explain that HTML does not support all of the HTTP methods.
I will leave this open in case there are any takers 🙂
A lot of students are confused when they want to implement PUT/DELETE operations in their Web application, because they started with HTML forms for POST operations and expect the same thing for the other operations. Some get around this by using hidden fields or other work-arounds, which is not a proper solution. (https://softwareengineering.stackexchange.com/questions/114156/why-are-there-are-no-put-and-delete-methods-on-html-forms)
Solution: in the assignment a paragraph can be added to suggest they should use Javascript for this