The difference between get method and post method deep understanding of related skills

Source: Internet
Author: User

The Get method is visible to the user after the hyperlink is followed by the key to be passed: http://tieba.baidu.com/f?kw=%D6%A3%D6%DD%B4%F3%D1%A7&fr=index&ie=utf-8

The parameters passed by the Post method are not visible

Get is getting data from the server;
Post is the transfer of data to the server.
--------------------------------
On the client,

Get the data submitted through the URL, the data is visible in the URL;

Post puts the data in the form's data body for submission.
--------------------------------
Get submitted data up to only 1024 bytes;

The amount of data submitted by post is unlimited.
--------------------------------
Because the parameters are displayed on the address bar when using GET, and the post does not, so if the data is not sensitive data, then use gets; If you include sensitive data, for security, use 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.