Getting HTTP (B): view HTTP request and response with Chrome Developer Tools

Getting HTTP (B): view HTTP request and response with Chrome Developer Tools

HTTP

  • 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

  1. Open Network
  2. Enter the URL address bar
  3. Click on the Network, see the request, click on the "view source"
  4. We can see the first three parts of the request
    1
    2
  5. If there is a request content fourth portion (POST), then FormData can see inside or Payload
    3

View response

  1. Open Network
  2. Enter the URL
  3. Select the first response
  4. View Response Headers, click on the "view source"
  5. You will see the response of the first two parts
    response
  6. View Response or Preview, you will see the response of Part 4
    response
js file a response. You will find this document does not request header, just because js file server responds back.

Guess you like

Origin www.cnblogs.com/homehtml/p/11965102.html