W5D1 HTTP

Jin Bae·2022년 12월 12일
0

스파르타코딩클럽

목록 보기
19/35

HTTP

HTTP (Hyper Text Transfer Protocol) is a protocal (통신 규약) that defines the form of which data is sent or received.

Network is a way to express and the protocol (HTTP) is a method to express.

  1. Request: the browser requests the information from the server
  2. Response: the server checks if there is a page requested by the browser, then returns the data of the page

In Chrome, you can see the data in Inspect > Network.

  • Header tab: additional data
    - Method: GET, POST, etc.
  • Response tab: actual data
  • Payload: A server can always send a payload when a response is sent
    - EXCEPT with the GET method

0개의 댓글