HTTP Request Method Reference Table

HTTP request method query tool, providing definitions, uses, and RFC specifications for methods like GET, POST.

Green Tool

The commonly used HTTP request methods and their descriptions are listed below.


GET
GET Method
Requests specified page information and returns the entity body.
The GET method is defined by .
HEAD
HEAD Method
Similar to a GET request, but the returned response does not contain specific content, used to retrieve headers.
The HEAD method is defined by .
POST
POST Method
Submits data to the specified resource for processing (e.g., submitting a form or uploading a file). Data is included in the request body. POST requests may result in the creation of new resources and/or modification of existing resources.
The POST method is defined by .
PUT
PUT Method
Transfers data from the client to the server, replacing the content of the specified document.
The PUT method is defined by .
DELETE
DELETE Method
Requests the server to delete the specified page.
The DELETE method is defined by .
CONNECT
CONNECT Method
Reserved in the HTTP/1.1 protocol for proxy servers that can switch the connection to a tunnel.
The CONNECT method is defined by .
OPTIONS
OPTIONS Method
Allows the client to check the server's capabilities.
The OPTIONS method is defined by .
TRACE
TRACE Method
Echoes the request received by the server, mainly used for testing or diagnosis.
The TRACE method is defined by .
PATCH
PATCH Method
The entity contains a table describing the differences from the original content represented by the URI.
The PATCH method is defined by .
MOVE
MOVE Method
Requests the server to move the specified page to another network address.
The MOVE method is defined by .
COPY
COPY Method
Requests the server to copy the specified page to another network address.
The COPY method is defined by .
LINK
LINK Method
Requests the server to establish a link relationship.
The LINK method is defined by .
UNLINK
UNLINK Method
Requests the server to break a link relationship.
The UNLINK method is defined by .
WRAPPED
WRAPPED Method
Allows the client to send encapsulated requests.
Extension-Method
Extension-Method Method
Allows additional methods to be added without modifying the protocol.

RFC 7231 Specification [Part 4: Request Methods] provides detailed descriptions of the GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, and TRACE methods; RFC 5789 Specification [Part 2: Patch Method] provides a detailed description of the PATCH request method. For a deeper understanding of each HTTP request method, please read the relevant specifications.

Related Tools

Tool Introduction

The "HTTP Request Method Reference Table" is an online tool specifically designed for web developers and users learning the HTTP protocol. It lists various common HTTP request methods in detail, such as GET, POST, PUT, DELETE, etc., and provides a detailed functional description, purpose, and the RFC (Request For Comments) specification where each method is defined. With this tool, you can quickly look up the semantics of different methods, understand their role in web communication and their normative basis, thereby improving development efficiency and understanding of the HTTP protocol.

Overview of HTTP Request Methods

HTTP (Hypertext Transfer Protocol) is the foundation of data communication on the World Wide Web, and HTTP request methods define the operations a client wishes to perform on a specific resource on the server. Each method carries specific semantics, such as retrieving data, submitting data, updating resources, or deleting resources. Correctly understanding and using these methods is crucial for building web services that adhere to RESTful architectural principles. This tool aims to provide you with a quick reference for these core concepts.

How to Use

This tool displays all HTTP request methods in an intuitive reference table format, making it very simple and convenient to use:

  1. Access the tool page: Simply open the "HTTP Request Method Reference Table" tool page to start using it.
  2. Browse the method list: The page will clearly list all supported HTTP request methods. You can scroll through the page to view all entries, or use the internal anchor links (click on method names like "GET", "POST") to quickly jump to the description of a specific method you are interested in.
  3. View detailed information: For each HTTP request method, the tool will display its method name, detailed functional description, main purpose, and the RFC specification or standard source that defines it (e.g., RFC 7231, RFC 5789, or WebDAV).
  4. Understand method semantics: Based on the text descriptions provided by the tool, understand the specific meaning and expected behavior of each method in HTTP communication, which will help you make correct request designs in web development.

This tool requires no input; all information is presented directly in a clear, structured manner, making it easy for users to consult and learn at any time.

Usage Example

Suppose you are doing web development and need to understand the specific purpose of the "GET" method and its associated specification.

  • Operation demonstration:
    1. Open this tool's page.
    2. In the displayed method list, find the "GET" method entry.
    3. Review its detailed description.
  • Expected output (partial information):
    Method Name: GET
    Method Title: GET Method
    Functional Description: Requests specified page information and returns the entity body.
    Defining Specification: RFC 7231 Specification
  • Through the above example, you can quickly obtain the core information of the GET method, understand its characteristics of requesting data and returning content, and its normative source in the HTTP protocol.

Frequently Asked Questions

  • Q: What is this tool primarily used for? A: This tool provides detailed explanations of HTTP request methods, including their definitions, purposes, and related RFC specifications, aiming to help web developers and learners quickly query and understand HTTP request methods, assisting in development and learning.
  • Q: How do I find a specific HTTP method? A: You can scroll through the page to browse the list of all methods directly, or click on the link of a method name (e.g., GET, POST) to quickly navigate to the detailed description section of that method.
  • Q: What are the main classifications of HTTP methods? A: HTTP methods can be classified from multiple dimensions. Based on whether they change server state, they can be divided into safe methods (e.g., GET, HEAD, OPTIONS) and unsafe methods (e.g., POST, PUT, DELETE, PATCH). Based on whether repeated execution produces side effects, they can be divided into idempotent methods (e.g., GET, HEAD, PUT, DELETE) and non-idempotent methods (e.g., POST, PATCH).
  • Q: What is RFC mentioned in the tool? A: RFC stands for "Request For Comments", which is a series of technical documents published by the Internet Engineering Task Force (IETF) that define Internet protocols, standards, and various technical specifications in detail. For example, RFC 7231 defines the core semantics and content of HTTP/1.1, including most core request methods.

Idempotence and Safety of HTTP Request Methods

  • Idempotence: Refers to the property that multiple requests to the same URI, if the request parameters and server state are the same before each request, will have the same effect on the server-side resource state whether executed once or multiple times, and each request should yield the same response result. In short, repeated execution will not produce additional side effects.
    • Idempotent methods include: GET, HEAD, PUT, DELETE, OPTIONS, TRACE.
    • The POST method is generally not idempotent, as repeated submission of POST requests may create multiple resources or execute operations repeatedly.
    • The PATCH method is also not idempotent, as its operation is based on differences in the current state of the resource, and multiple executions may lead to different results.
  • Safety: Refers to the property that a request will not cause any modification to the resource state on the server. Safe methods can be repeatedly executed by the client without concern, without negatively affecting the server or changing resource state.
    • Safe methods include: GET, HEAD, OPTIONS.
    • POST, PUT, DELETE, PATCH, CONNECT, and other methods are generally unsafe because they are intended to modify or delete server resources or establish tunnel connections.

Notes

  • Information Source: The information provided by this tool is compiled from HTTP-related RFC specifications and WebDAV standards, striving for accuracy, but is for reference and learning purposes only. In actual development and deployment, please be sure to refer to the latest official standard documents.
  • Protocol Evolution: The HTTP protocol is a constantly evolving standard. Please note that details of certain methods or the introduction of new methods may be updated in the latest RFC documents. It is recommended to consult the latest and most authoritative official specifications when developing in a production environment.
  • WebDAV Methods: Methods such as MOVE, COPY, LINK, UNLINK belong to methods defined by the WebDAV (Web-based Distributed Authoring and Versioning) extension protocol; they are extensions of the HTTP protocol and are not built-in methods of the HTTP/1.1 core protocol.
  • WRAPPED and Extension-Method: The WRAPPED method represents the possibility of encapsulated requests, while Extension-Method refers to adding additional methods without modifying the protocol. These methods typically do not have detailed independent chapter definitions in standard RFCs like core methods.

Rating

0 / 5

0 ratings

Statistics

Views: 2324

Uses: 2327