django ajax发送post请求

第一种:将csrf_token放在from表单里

    

第二种:发送前添加头部信息

    

你可能感兴趣的:(django ajax发送post请求)