使用postman跑通的接口,用python一直報錯
使用postman可以成功

image.png
此圖為python報錯

image.png
{'timestamp': '2020-07-06 18:25:02', 'status': 500, 'error': 'Internal Server Error', 'message': 'syntax error, pos 1, json : bizContent=mobile&bizContent=verifyCode&bizContent=equipmentId&bizContent=noncestr&bizContent=timestamp&bizContent=sign', 'path': '/rest/noAuth/member/login'}

image.png
解決方法:朋友告知postman可以導出代碼。。。我竟然不知道
代碼的json串一定要轉(zhuǎn)義,不然不能識別