今天在使用flask接收client端post的json数据时,发现通过request.get_data() ... 返回的类型是bytes,因此json.loads无法识别,因此先要转换成str类型。
確定! 回上一頁