Skip to content

Glossary: React Native

fetch

Also written: res.ok

The built-in function for making HTTP requests. `res.ok` is false for answers like 404 or 500, so the app checks it and throws an error with a friendly message.

Where the book teaches it

Related terms

POST requestAPI (Application Programming Interface)