Glossary: React Beyond the Basics
fetch
The browser function that sends a request to a server and returns a promise for the response. It rejects only when the network fails, not when the server answers with an error status such as 404 or 500, so code should check `response.ok`.