APIView里如何获取HTTP里的数据
request.data.get() 获取post方法表单里的数据
request.post.get() 获取post方法表单里的数据
request.GET.get() 获取URL里的数据
request.body 后去json数据
request.query_parmas 和get差不多,获取URL里的数据
request.data.get() 获取post方法表单里的数据
request.post.get() 获取post方法表单里的数据
request.GET.get() 获取URL里的数据
request.body 后去json数据
request.query_parmas 和get差不多,获取URL里的数据