Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions week-1/mandatory/2-dev-tools/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions week-2/mandatory/1-debugging/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done Sulaiman You did well fixing the bugs.