烧瓶中的make_response()和jsonify()和make_response(jsonify(),status)有什么不同用法?

返回之间有什么区别?

1: return {'message':'success'},200
2: return jsonify({'message':'success'})
3:return make_response({'message':'success'},200)
4:return make_response(jsonify({'message':'success'}),200)

最适合使用哪个,为什么?

nt890121 回答:烧瓶中的make_response()和jsonify()和make_response(jsonify(),status)有什么不同用法?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3152619.html

大家都在问