摘要: 一,DRF 解析器 根据请求头 content-type 选择对应的解析器就请求体内容进行处理。 1. 仅处理请求头content-type为application/json的请求体 from django.conf.urls import url, include from web.views.s 阅读全文
posted @ 2018-12-18 23:41 温而新 阅读(375) 评论(0) 推荐(2) 编辑