Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Teach you how to play HTTP- request

Shulou Source: shulou.com Published: 2022-06-02 20:15:29 11月13日 Update

HTTP is an acronym for Hyper Text Transfer Protocol, a transfer protocol used to transfer hypertext from World Wide Web servers to local browsers.

HTTP is a TCP/IP-based communication protocol for transferring data (HTML files, image files, query results, etc.).

HTTP request method

According to the HTTP standard, HTTP requests can use a variety of request methods.

HTTP 1.0 defines three request methods: GET, POST and HEAD.

HTTP 1.1 adds six new request methods: OPTIONS, PUT, PATCH, Delete, TRACE, and CONNECT.

serial number method Description 1 GET Requests the specified page information and returns the entity body. 2 HEAD Similar to GET request, except there is no specific content in the returned response, which is used to get header 3. POST Submit a request for data to a specified resource for processing (for example, submit a form or upload a file). The data is contained in the request body. POST requests may result in the creation of new resources and/or modification of existing resources. 4 PUT Data transferred from a client to a server replaces the contents of a specified document. 5 Delete Requests the server to delete the specified page. 6 CONNECT HTTP/1.1 is reserved for proxy servers that can change connections to pipe mode. 7 OPTIONS Allows clients to view server performance. 8 TRACE Echo requests received by the server, primarily for testing or diagnostics. 9 PATCH Is a complement to the PUT method, used to locally update a known resource.

Original address: https://www.linuxprobe.com/%e6%95%99%e4%bd%a0%e7%8e%a9%e8%bd%achttp-%e8%af%b7%e6%b1%82%e6%96%b9%e6%b3%95.html

Tags: Method server service data resource file content client client page transfer World wide Web body information original text but picture address multiple entity Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Linux Apple Docker MariaDB