Momentum logo
Team 5 Classroom

Getting Data Using APIs with JS and Fetch

Posted on Sep 22nd, 2020

Today’s topics

  • Using JSON for data
  • Basics of HTTP requests
  • Make GET requests with Insomnia client
  • Make GET requests using the Fetch API and display response data on a page

Project

Create a GitHub Profile

Link to assignment invitation

🔖 Resources

HTTP

APIs

AJAX & Fetch

⭐ EXTRA/TMI

Fetch requests use JavaScript promises to handle responses. This is a much bigger topic than we will get into right now, but if you want to know more about what a promise is and how to use it beyond the context of AJAX requests, you can start with the MDN documentation about it.

Code and Videos

Back to home