Using APIs with JS and Fetch
Posted on May 6th, 2020
Today’s topics
- Using JSON for retrieving data
- Basics of HTTP requests
- Make requests with Insomnia client to GET data
- Make GET requests using the Fetch API and display response data on a page
Project
Create a GitHub Profile
Links and resources
- Illustrated Dev: Meet the Robowaiter APIs Serving Us Data
- AJAX explained by analogy
- Insomnia client
- GitHub API Docs
- MDN Fetch API
- MDN fetch() method
- CSS-Tricks article on using Fetch
- MDN JS Promise
Code, slides, and video from class
- There are no slides for this topic today
- Using fetch with the GitHub API demo code
- morning class video Access Password: 9N@48@*v
- afternoon class video Access Password: 9O@Sys7%