标签:color 解决办法 pos span expect request 调用函数 was user
解决办法:
如请求参数为 data={“user”=“aaa”,“pwd”=“123456”,sign=“00000000000000”}
需要将参数data先做处理,调用函数datas=datajson.dumps(datas,separators=(‘,‘,‘:‘));
然后在发送post请求request.post(url,datas,.....)
python中发送post请求时,报错“Unrecognized token 'xxxx': was expecting ('true', 'false' or 'null')”
标签:color 解决办法 pos span expect request 调用函数 was user
原文地址:https://www.cnblogs.com/me1105/p/9921977.html