Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 1.04 KB

File metadata and controls

30 lines (19 loc) · 1.04 KB

Chrome Dev Tools

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

Submission

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!