teaching machines

CS 268: Lecture 14 – Fetch

April 7, 2020 by . Filed under lectures, spring-2020, webdev.

Dear students:

Last time we examined objects and how to pass them around using JSON. This time, we apply these ideas by consuming a web service: News API. We’ll use JavaScript’s builtin fetch function to grab and send JSON data.

We started looking at this before spring breeeaaak happened, but I’ve re-implemented the example we started for the sake of completeness.

Here’s your TODO list:

See you next time.