<request line>
<headers>
<blank line>
[<request-body> ;]
In an HTTP request, the first line must be a request line, which describes the type of request, the resource to be accessed, and the version of HTTP being used. Immediately following this is a header subsection that describes additional information to be used by the server. After the header is an empty line, after which any additional data [called the body] can be added.
1. get gets data from the server, and post sends data to the server.
get and post are just a way to pass data, get can also pass data to the server, their essence is to send a request and receive results. Just the organizational format and the amount of data above the difference, http protocol inside the introduction
2. get is to add the parameter data queue to submit the form of the ACTION attribute refers to the URL, the value and the form of each field corresponds to one by one, in the URL can be seen. post is through the HTTP post mechanism, will be the form of each field and its content placed in the HTML HEADER together with the transmission to the server. HTML HEADER to the URL address indicated by the ACTION attribute. The user does not see this process.
Because get is designed to transfer small data, and it is best not to modify the server's data, so browsers can generally be seen inside the address bar, but post is generally used to transfer large data, or more private data, so you can't see it in the address bar, and can not be seen is not a protocol, is the browser.