Open RbAvci opened 5 months ago
What status code did the server send back? 304 Not Modified What HTTP method did the browser use to make the request? GET What is the request path? /shows/82/episodes What is the first line of the response body? [ What is the value of the response header called "Content-Type" ? There was no header called content-type. So when I told this AI, it explained sometimes the "Content-Type" header might not be visible in the headers, especially for JSON responses. So if you see the response starting with [ (an opening square bracket), it's a good indication that the "Content-Type" is “ application/json”. What is the value of the request header called "User-Agent"? Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Link to the coursework
https://developer.chrome.com/docs/devtools/network
Why are we doing this?
Do the Network Tab tutorial
Read or watch the Google Chrome Devtools tutorial on the Network Tab. The video is nine minutes long.
Explore a familiar API
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:
Maximum time in hours
1
How to get help
Here's a solid prompt for ChatGPT.
How to submit
Share your answers with the other trainees in your Buddy Group or on your Slack class channel.
How to review
Did you get different answers to other people? Ask them how they worked them out!