Getting HTTP (B): view HTTP request and response with Chrome Developer Tools
- This paper briefly summarizes the requests and responses of HTTP .
- The main purpose of this paper is to summarize and learning content for future reference.
- Principles and detailed tutorial can refer to HTTP document (MDN).
- This article belongs Ma Taotao all.
- Cited herein pictures and text belongs to original author, tort deleted.
- If wrong, please point out in the comments area below, welcomed the positive discussions.
View request
- Open Network
- Enter the URL address bar
- Click on the Network, see the request, click on the "view source"
- We can see the first three parts of the request
- If there is a request content fourth portion (POST), then FormData can see inside or Payload
View response
- Open Network
- Enter the URL
- Select the first response
- View Response Headers, click on the "view source"
- You will see the response of the first two parts
- View Response or Preview, you will see the response of Part 4
js file a response. You will find this document does not request header, just because js file server responds back.