Idempotent (idempotent, idempotence) is the concept of an abstract algebra. In a computer, it can be understood that a power-like operation is characterized by the effect that any number of executions have on the same effect as one execution at a
Http defines different methods for interaction with the server. There are four basic methods: GET, POST, PUT, and DELETE. The full name of a URL is a resource descriptor. We can think that a URL address is used to describe resources on a network,
For more information on HTTP put, see this article: Http://www.jb51.net/article/52515.htm.
PHP has $_get,$_post, but there is no $_put, so if you need to use it, you have to simulate yourself:
Copy Code code as follows:
$_put = Array
has been testing the rest mode of the Web service interface, the client's HTTP request generally divided into four kinds: GET, POST, PUT, DELETE, these four kinds of request how different. To put it simply, get is to get resources, post is to create
Essential differences between http post get
I. Differences of principles
Generally, you can enter a URL in your browser to access resources by using the get method. In form submission, you can specify the submission method as get or post. The
Rest (representational state transfer) is a style of network service interfaces and is not a standard. for Web Services, rest is much more lightweight than soap (soap is a standard, not a style, it is much easier. I remember when I first came into
Http://hi.baidu.com/%CE%A2%D0%A6%C0%E1%CB%AE/blog/item/84fd8e3d93944350241f14cc.html
There is a view that post should be used to create a resource to update a resource with put; there is a view that you should use put to create a resource, post to
http://blog.csdn.net/mad1989/article/details/7918267
There is a point of view that you should use post to create a resource, to update a resource with put, and that you should use put to create a resource, post to update a resource, and the idea
Reproduced:The has the view that a post should be used to create a resource, a put to update a resource, and some argue that a put should be used to create a resource, a post to update a resource, and a view that a resource can be created or
HTTP protocol, a network in which file transfer follows the protocol. A stateless protocol, HTTP protocol server side does not establish a long-term communication connection with the browser side, that is, the service side can not identify the end
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.