还未发布过话题
  • 您好,python requests 接口测试,根据 postman 得到的参数 payload 里还有中文,执行后会报错。UnicodeEncodeError: 'latin-1' codec can't encode characters in position 179-182: Body ('并驾齐驱') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.请问大牛是怎么解决的?