Open nazaninsaedi opened 6 months ago
What's the status code the server sent back? -The status code the server sent back is 200, which indicates that the request was successful.
What HTTP method did the browser use to make the request? -The browser used the HTTP GET method to make the request.
What is the request path? -The request path is /shows/82/episodes. 2 requests
What is the first line of the response body? -[{"id":4952,"url":"https://www.tvmaze.com/episodes/4952/game-of-thrones-1x01-winter-is-coming","name":"Winter is
I did steps follow this video and very helpful for me :
What is the value of the response header called "Content-Type" ? The value of the response header called "Content-Type" is application/json; charset=utf-8.
What is the value of the request header called "User-Agent" The User-Agent request header is a characteristic string that lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
I did steps follow this video and very helpful for me :
Thanks @nazaninsaedi, those answers are great! Just make sure that the submission steps are followed carefully, for this task they asked to send details on Slack
From Module-JS3 created by Dedekind561: CodeYourFuture/Module-JS3#35
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!