首页 > Web开发 > 详细

Django -- HTTP GET or POST

时间:2018-01-15 15:46:22      阅读:213      评论:0      收藏:0      [点我收藏+]
  • Use GET if:
    • The interaction is more like a question (i.e., it is a safe operation such as a query, read operation, or lookup).
  • Use POST if:
    • The interaction is more like an order, or
    • The interaction changes the state of the resource in a way that the user would perceive (e.g., a subscription to a service), or
    • The user be held accountable for the results of the interaction.

Django -- HTTP GET or POST

原文:https://www.cnblogs.com/brucezhang2017/p/8288244.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!