Difference between post and get; Difference between postget

Source: Internet
Author: User

Difference between post and get; Difference between postget

1. get will display User Information on the address bar, with low security; post transmission in encrypted form, not displayed, with high security

2. get is faster than post submission because post encapsulates a message and then sends it (encrypted)

3. Put the data requested by the get method in the http message header. The post method places the submitted data in the http body.

4. get is mainly used for query without modifying the data on the server. post will send a modification request to modify the data on the server.

5. You can add bookmarks to get and cache them, but not post.

<Form action = "" method = "get"> user name <input type = "text" name = "user"> password <input type = "possword" name = "possword"> <input type = "submit" value = "submit"> </form>

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.