Open zelihapala opened 5 months ago
What's the status code the server sent back?
Status Code:304
What HTTP method did the browser use to make the request? Request Method: GET
What is the request path? :path: /shows/82/episodes
What is the first line of the response body? An array and objects in it.
What is the value of the response header called "Content-Type" ? there is no "Content-Type" header included in this response because the server is not sending the content; instead, it's instructing the client to use its cached version.
What is the value of the request header called "User-Agent" User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Mobile Safari/537.36
Excellent answers @zelihapala! And well done for writing about the "Content-Type" being missing because the cached version is used instead 🚀
This one can move over to "✅ Done"
Link to the coursework
http://api.tvmaze.com/shows/82/episodes
Why are we doing this?
This task will get you to really think about the response you get back from an API. Use Chrome Dev Tools to examine the response you get back from the server.
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:
Maximum time in hours
.5
How to submit
Share your answers with the other trainees 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!