Skip to content

Glossary: Vue.js

fetch

Also written: fetchJSON, fetch()

The browser's built-in function for requesting data from a server. A helper such as `fetchJSON` can wrap it to return parsed JSON, or throw an `HttpError` when the response has a bad status.

Where the book teaches it

Related terms

HttpErrorJSON (JavaScript Object Notation)postJSONAsync function