The substantial difference between get and post

Source: Internet
Author: User

First, as the name suggests get is getting things from the server, post is to send things to the server, gets does not affect the server, post submitted data is the server to modify.

Difference: Get will put the data in the URL path, and post will encode the data and then placed in the body of HTTP (that is, plaintext, ciphertext),

So get directly to send the past, and post is to send the request first, and so on the response to send, these two points also reflects the security of the post.

So, when quoting, if you only need to send data to the server to use get, but also to the server to modify the post.







Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.