摘要:
postman 接口测试工具 阅读全文
摘要:
POST 请求导致CSRF漏洞 解决方案: 1.忽略该检查 2.使用模板标签添加CSRF令牌,在form表单加入{% csrf_token %} 阅读全文
摘要:
def login_action(request): if request.method == 'POST': username = request.POST.get('username','') password = request.POST.get('password','') user = a 阅读全文