Loading
A built-in browser tool for requesting data from a server — like sending a letter and waiting for a reply.
A promise-based API that replaces XMLHttpRequest for making HTTP requests. fetch() returns a Response object with methods for parsing JSON, text, or binary data, and supports headers, methods, and request/response streaming.
The Fetch Living Standard defines a unified request/response model shared by service workers, modules, and the main thread. Requests specify a mode (cors, no-cors, same-origin), credentials policy, cache mode, and redirect handling. ReadableStream bodies enable incremental consumption, and AbortController provides cancellation via the AbortSignal interface.