Difference between revisions of "HTTP request methods"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods
 
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods
  
  GET
+
  [[GET]]
 
  The GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should not contain a request content.
 
  The GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should not contain a request content.
 
   
 
   
  HEAD
+
  [[HEAD]]
 
  The HEAD method asks for a response identical to a GET request, but without a response body.
 
  The HEAD method asks for a response identical to a GET request, but without a response body.
 
   
 
   
  POST
+
  [[POST]]
 
  The POST method submits an entity to the specified resource, often causing a change in state or side effects on the server.
 
  The POST method submits an entity to the specified resource, often causing a change in state or side effects on the server.
 
   
 
   
  PUT
+
  [[PUT]]
 
  The PUT method replaces all current representations of the target resource with the request content.
 
  The PUT method replaces all current representations of the target resource with the request content.
 
   
 
   
  DELETE
+
  [[DELETE]]
 
  The DELETE method deletes the specified resource.
 
  The DELETE method deletes the specified resource.
 
   
 
   
  CONNECT
+
  [[CONNECT]]
 
  The CONNECT method establishes a tunnel to the server identified by the target resource.
 
  The CONNECT method establishes a tunnel to the server identified by the target resource.
 
   
 
   
  OPTIONS
+
  [[OPTIONS]]
 
  The OPTIONS method describes the communication options for the target resource.
 
  The OPTIONS method describes the communication options for the target resource.
  
  TRACE
+
  [[TRACE]]
 
  The TRACE method performs a message loop-back test along the path to the target resource.
 
  The TRACE method performs a message loop-back test along the path to the target resource.
  
  PATCH
+
  [[PATCH]]
 
  The PATCH method applies partial modifications to a resource.
 
  The PATCH method applies partial modifications to a resource.
  
 
== See also ==
 
== See also ==
 +
* {{HTTP request methods}}
 
* {{POST}}
 
* {{POST}}
 
* {{HTTPS}}
 
* {{HTTPS}}
  
 
[[Category:Internet]]
 
[[Category:Internet]]

Latest revision as of 10:01, 2 July 2025

https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods

GET
The GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should not contain a request content.

HEAD
The HEAD method asks for a response identical to a GET request, but without a response body.

POST
The POST method submits an entity to the specified resource, often causing a change in state or side effects on the server.

PUT
The PUT method replaces all current representations of the target resource with the request content.

DELETE
The DELETE method deletes the specified resource.

CONNECT
The CONNECT method establishes a tunnel to the server identified by the target resource.

OPTIONS
The OPTIONS method describes the communication options for the target resource.
TRACE
The TRACE method performs a message loop-back test along the path to the target resource.
PATCH
The PATCH method applies partial modifications to a resource.

See also[edit]

Advertising: