Getting Data with fetch
fetch sends a request to a web API and gives back a promise of the response; await it, then await response.json() to turn the JSON answer into a JavaScript value your page can use.
Updated

- Category
- JavaScript
- Level
- Apprentice
- Tags
- async Function, await, Fetch API, JavaScript, Response Object, rest-api, Template Literal, web-development