Topics > 8. JavaScript: HTTP requests and the Fetch API
The Fetch API is a modern JavaScript interface for making HTTP requests to servers and handling responses. It simplifies fetching resources like JSON data, files, or text from external APIs or web services using promises for asynchronous operations. Understanding how to use the Fetch API, handle response statuses, and work with data formats like JSON is key to building dynamic, data-driven web applications.
Readings & Activities
Week | Slides / Activities | Readings | |
---|---|---|---|
Week 8 | Mon, 3/3 | Lecture 14 Tutorial 6 Wrap; Intro to HTTP |
Required:
|
Wed, 3/5 | Lecture 15 Asynchronous Functions and the JavaScript Fetch API Activity Fetch Examples |
Required:
|
|
Week 10 | Mon, 3/17 | Tutorial 7 Get Started on HW3: GET, POST, and DELETE (due Mon, 3/24) |