Good articles... Inniu ~ (Partition _ tables)
Http://www.cnblogs.com/skynet/archive/2010/05/18/1738301.html
Introduction
I think anyone who is familiar with the HTTP protocol can give a reason. But if I ask you what HTTP request methods are
Before how careful study of Ajax, just use it directly to use, found the problem to find a solution. Here's a little summary of what I'm looking for in the process of solving the problem.
A. Talking about the difference between get and post of
Reprinted from: [Hyddd (http://www.cnblogs.com/hyddd/)]to summarize,
Get is a request to send data to the server
and post is a request to submit data to the server, in the form (form),
Method defaults to "get", in essence, get and
Form ID = " Form1 " Method = " Get " Runat = " Server " > Div > Your name ASP: textbox ID = " Name " Runat = " Server " > / ASP: textbox > BR /> BR /> Your website ASP: textbox ID = " Website
Post/uri Create
Delete/uri/xxx Delete
PUT/URI/XXX Update or create
Get/uri/xxx View
The get operation is secure. Security means that the state of a resource does not change regardless of how many times it is done. For example, I use
When PHP uses post to transmit data, action = & quot; login. php? Id = 2 & quot;, click submit, $ _ POST [& quot; id & quot;] cannot be displayed, that is, it is not set! PHP sets action = "login. php? Id = 2 When PHP uses post to transmit data,
When PHP uses post to transmit data, action & quot; login. php? Login. php ?, Click SUBMIT. $ _ POST [id] cannot be displayed, that is, it is not set! However, for example, when PHP uses post to transmit data, action = "login. php? Id = 2 ", click
When PHP uses post to transmit data, action & quot; login. php? Login. php ?, Click SUBMIT. $ _ POST [id] cannot be displayed, that is, it is not set! However, for example, when $ _ PHP uses post to transmit data, action = "login. php? Id = 2 ",
The simplest difference:
1. When using a GET request, the parameter is displayed in the URL and the Post method is not displayed
2. Use GET request to send the data quantity is small, the POST request sends the data quantity to be big
3.get
1. In form, you can use post or get. They are all valid values of method. However, the post and get methods are at least two different in use:1. The get method transmits user input through URL requests. The post method is in another form.2. You need
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.