the.com/fetch
The HTTP request that promised to replace XMLHttpRequest and mostly just confused everyone equally.
means A JavaScript method for making network requests to fetch resources, built on promises instead of the callback soup of its predecessor.
from The word 'fetch' itself is old — rooted in Old English 'feccan' or 'fetian,' meaning to go and bring something back, the same homely sense you'd use telling a dog to fetch a stick. The API borrowed that plain verb deliberately: you're not 'opening' or 'requesting' in the fussy XMLHttpRequest style, you're just telling the browser to go get something and bring it home, wrapped in a modern promise-based syntax.
- no error on 404
- rejects only on network failure, not bad status codes
- promise-based
- built on promises, so chaining beats callback hell
- cors default
- omits credentials unless you explicitly ask
- mean girls origin
- also famously never going to happen