Wednesday, January 28, 2015

Http Request Methods

1) GET:- Used when the client is requesting a resource on the Web server.
2) HEAD:- Used when the client is requesting some information about a resource but not requesting the resource itself.
Same as GET but returns only HTTP headers and no document body
3) POST:- Used when the client is sending information or data to the server—for example, filling out an online form (i.e. Sends a large amount of complex data to the Web Server).
4) PUT:- Used when the client is sending a replacement document or uploading a new document to the Web server under the request URL.
5) DELETE:- Used when the client is trying to delete a document from the Web server, identified by the request URL.
Deletes the specified resource
6) TRACE:The TRACE method is primarily used for debugging and testing purposes, and simply requests that the server echo back the request it received. This can be useful for identifying any changes to the request that is made by proxies.
The trace method simply requires providing a URL and reading the response received.
7) OPTIONS:- Used when the client wants to determine other available methods to retrieve or process a document on the Web server.
Returns the HTTP methods that the server supports
options method is used to determine what methods are supported by the server
8) CONNECT:- Used when the client wants to establish a transparent connection to a remote host, usually to facilitate SSL-encrypted communication (HTTPS) through an HTTP proxy.
Converts the request connection to a transparent TCP/IP tunnel.

No comments:

Security Certificates

  1. Cryptography Basics Understand Key Concepts : Encryption, decryption, hashing, and digital signatures. Key terms: confidentiality, inte...