March 24th, 2010
What are the methods available in HTTP 1.1?
SCWCD, by Daisy Williams.
HTTP 1.1 defines eight request methods as follows:
GET: It is the default request method. It retrieves the resource identified by the request URL.
POST: It is used to send the data to be processed.
HEAD: It returns the headers identified by the request URL.
PUT: It stores a resource under the request URL.
DELETE: It removes the resource identified by the request URL.
OPTIONS: It returns the HTTP methods that the server supports.
CONNECT: It requests that a proxy establish a tunnel connection to a port on its behalf.
TRACE: It returns the header fields sent with the TRACE request.
Each of the above XXX request methods (except CONNECT) has a corresponding doXXX method in the HttpServlet class.
Back Top
Tags: http, method, SCWCD, tag
Responses to “What are the methods available in HTTP 1.1?”