摘要: request.POST 这个方法只会处理content-type为表单类型的请求数据 因此当Content-Type=application/json时,我们取request.POST只会得到一个空的QueryDict request.body request.body取出来是字节码,需要将其编码 阅读全文
posted @ 2021-11-09 18:01 平行时空的旅者 阅读(795) 评论(0) 推荐(0) 编辑