码迷,mamicode.com
首页 > Web开发 > 详细

Django -- HTTP GET or POST

时间:2018-01-15 16:35:37      阅读:161      评论:0      收藏:0      [点我收藏+]

标签:more   stat   http get   source   django   subscript   --   blog   ice   

  • 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

标签:more   stat   http get   source   django   subscript   --   blog   ice   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!