CodeYourFuture / CodeYourFuture/Module-Servers

[TECH ED] Devtools Network Tab

Đang mở
#141 0 bình luận 0 reaction 1 người được giao Được @zelihapala nhận Xem trên GitHub
🎯 Topic Problem-Solving 🎯 Topic Testing 🏕 Priority Mandatory 🐇 Size Small 📅 Servers 📅 Week 1
Ngôn ngữ chính
JavaScript
Star
0
Fork
74
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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](https://developer.chrome.com/docs/devtools/network) on the Network Tab. The video is nine minutes long.

## Explore a familiar API

1. In Google Chrome, open dev tools network tab and enter this URL into the browser: http://api.tvmaze.com/shows/82/episodes

2. Answer the following questions:

- [ ] What status code did the server send back?
- [ ] What HTTP method did the browser use to make the request?
- [ ] What is the request path?
- [ ] What is the first line of the response body?
- [ ] What is the value of the response header called "Content-Type" ?
- [ ] What is the value of the request header called "User-Agent"

### Maximum time in hours

1

### How to get help

Here's a solid prompt for ChatGPT.

> Act as a friendly, straightforward programming mentor. Walk me through finding the answers to the following questions step by step using the Chrome Devtools Network tab. Don't tell me the answers, but guide me through the interface until I find it myself. When I say "Is the answer: MY ANSWER" tell me if I'm right or wrong. If I'm right, move me on to finding the answer to the next question. If I'm wrong, explain why. Here are the questions. Begin with question 1: What status code did the server send back?

> 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:

- [ ] What status code did the server send back?
- [ ] What HTTP method did the browser use to make the request?
- [ ] What is the request path?
- [ ] What is the first line of the response body?
- [ ] What is the value of the response header called "Content-Type" ?
- [ ] What is the value of the request header called "User-Agent"

### 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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.