RFC Chinese link
Cloud.tencent.com/developer/s…
HTTP Basic Concepts
request
- Request verb path plus query parameter protocol name/version
-
- Host: indicates the domain name or IP address
-
- Accept: text/HTML
-
- Content-type: specifies the format of the request body
- enter
- Request body (that is, upload content)
note
- Request has three parts: request line, 1.2.3. Request header, request body
- Request verbs include *GET (used to GET content) / *POST (used to upload content)/PUT/PATCH/DELETE etc. Note: * is a common request verb
- The request body is generally empty in a GET request
- The documentation is in Chapter 5 of RFC 2612
- Case sensitivity (optional)
The response
- Protocol name/Version status code Status character string
- Content-type: indicates the format of the response body
- enter
- Response body (Download content)
note
- The response has three parts: the status line, the response header, and the response body