Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion why PUT and DELETE are not supported in HTML forms [practicum 1 - Web APIs] #68

Open
brechtvdv opened this issue Mar 6, 2019 · 1 comment

Comments

@brechtvdv
Copy link

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

@RubenVerborgh
Copy link
Owner

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 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants