Look at a request in Chrome Dev Tools
In Google Chrome, open dev tools network tab and enter this URL into the browser: http://api.tvmaze.com/shows/82/episodes
Answer the following questions:
-
What's the status code the server sent back? --------304 Not Modified
-
What HTTP method did the browser use to make request?
-----GET request method -
What is the request path? ---/shows/82/episodes
-
What is the first line of the response body? -----[{id: 4952, url: "http://www.tvmaze.com/episodes/4952/game-of-thrones-1x01-winter-is-coming",…},…]
-
What is the value of the response header called "Content-Type" ? --------application/json; charset=UTF-8
-
What is the value of the request header called "User-Agent" ----Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
Share your answers with the other students in your Buddy Group or on your Slack class channel.
Did you get different answers to other people? Ask them how they worked them out!