Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Teach you how to play HTTP- request

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 298

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report