Thursday 5 December 2013

HTTP PROTOCOL

                                                      HTTP PROTOCOL
It stands for Hypertext transfer protocol. It is an application protocol.  When you type a URL (uniform resource locator) in the location bar of browser?  Then it performs a DNS query. After performing of DNS query, it  gets the IP address of the host, it connect the ports 80 of the remote host and uses HTTP commands to request the host for a particular document or page. HTTP is a protocol used by browser to communicate with its hosts, that is to ask for a particular file at a specific URL or to send or post data to the server.
HTTP port is port 80, you must first telnet to port 80 of the server that store the page or document.
v  Get method   -    This method is use by browser to request pages or document.  The client request pages from the server.
v Post method   -    This method is use to upload files to the serve. This method is use when you upload your website, not using the FTP service. (IN this method when you uploading data the browser act as server and the host act as client).

v Head method    -     This method is use When you want to make sure that, a particular file is existing at that URL without downloading the entire file. Its simply download the header information of a particular file, but not the entire file. 

No comments:

Post a Comment