How should I choose between GET and POST methods in HTML forms?

后端 未结 17 1605
醉话见心
醉话见心 2020-11-27 18:42

I wish to know all the pros and cons about using these two methods. In particular the implications on web security.

Thanks.

17条回答
  •  孤独总比滥情好
    2020-11-27 19:03

    GET should not have side-effects: http://www.w3.org/DesignIssues/Axioms.html#state

    POST forms should be used when a submission has side effects.

    Neither method has any real implication on security, use SSL if you're concerned about security.

提交回复
热议问题