diff --git a/week-1/mandatory/2-dev-tools/task.md b/week-1/mandatory/2-dev-tools/task.md index c005108..51b4148 100644 --- a/week-1/mandatory/2-dev-tools/task.md +++ b/week-1/mandatory/2-dev-tools/task.md @@ -7,12 +7,22 @@ In Google Chrome, open dev tools network tab and enter this URL into the browser Answer the following questions: - What's the status code the server sent back? -- What HTTP method did the browser use to make the request? +--------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" ? -- What is the value of the request header called "User-Agent" +--------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. diff --git a/week-2/mandatory/1-debugging/task.md b/week-2/mandatory/1-debugging/task.md index 9e39071..f725141 100644 --- a/week-2/mandatory/1-debugging/task.md +++ b/week-2/mandatory/1-debugging/task.md @@ -14,3 +14,10 @@ We've hosted some Servers on Glitch but they're not quite working properly. Coul - [ ] Name your new server `yourname` + NAME_OF_EXERCISE - [ ] Check that it is working by making a request to `/` - [ ] Fix the code on your version of the server + +## sulotions + +- https://glitch.com/~sulaiman-practice1 +- https://glitch.com/~sulaiman-practice2 +- https://glitch.com/~sulaiman-practice3 +- https://glitch.com/~sulaiman-practice4