3 ms·
Huh? There’s full browser support for all of those verbs. What is the argument for not supporting them?
by boredtofears 5y ago
Huh? There’s full browser support for all of those verbs.
What is the argument for not supporting them?
- BulgarianIdiot 5y agoThe HTTP request APIs pass through any method name you write. The HTML forms only support GET and POST. Try it.
- inopinatus 5y agoThere is no mention of HTML in these recommendations. The recommendation is perfectly good for any API using HTTP as the substrate. The wisdom of using HTTP as a protocol substrate is questionable, but having made that decision the verbs it supplies work perfectly well. Incidentally, the HTML living standard supports three form methods, not two: get, post, and dialog. Which rather reinforces the point that HTML != HTTP.
- boredtofears 5y agoHow is that relevant to REST API’s? You don’t generally post to rest endpoints from a form anyways for a lot of good reasons.