The http request method (HTTP Method)

GET: request for resources

Get method used to request access to the resource has been identified URI. The specified resource returned by the server parses the response content. That is, if the requested resource is a text, it remains as return; if as CGI (Common Gateway Interface, through the gateway interface) as the program is executed to return the result through the output.

POST: transport entity subject

post method for transmitting entity body.

While the body may be any entity with the transmission get method, but generally do not get method for transmission, but with post method. Although the post functions and get very similar, but the mother of the main post not get the main content of the response.

PUT: transferring files

HEAD: Gets the message header

DELETE: Delete Files

OPTIONS: inquiry method Supported

TRACE: trace the path

CONNECT: Requirements connection with the proxy tunneling protocol

 

Guess you like

Origin www.cnblogs.com/xiongww/p/11039096.html