4 ms·
It was limited up until the last 10 years, and if someone hasn't updated their knowledge then it's still limited, I suppose.
by brigandish 1y ago
It was limited up until the last 10 years, and if someone hasn't updated their knowledge then it's still limited, I suppose.
- paulddraper 1y agoXMLHttpRequest? fetch? We're talking JSON APIs -- HTML forms are incompatible with that no matter the verb.
- brigandish 1y agoFetch came in around 2015, and XMLHttpRequest wasn't consistent in the way different verbs were handled, like redirects, as this blog post[0] from 2006 points out: > Basic redirect support is pretty universal, but things quickly fall apart on most browsers when you do tricky things like use non-GET/POST methods on redirecting resources. There were other things too, I'm not sure CORS supported anything but GET and POST early on either. Wanting consistency and then sticking to it isn't an inherently bad thing, there's a lot to know, and people don't update knowledge about everything (I'm speaking generally as well as including my self here). [0] https://www.mnot.net/blog/2006/01/23/test_xmlhttprequest https://www.mnot.net/blog/2006/01/23/test_xmlhttprequest
- paulddraper 1y ago> I've long ago caved to the reality of the web's limited support for most of the other verbs. Sounds like this reality is not the recent one.