- 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
Posted 躬行致远
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Django -- HTTP GET or POST相关的知识,希望对你有一定的参考价值。
以上是关于Django -- HTTP GET or POST的主要内容,如果未能解决你的问题,请参考以下文章