类型"Content-Type":"application/json",
调用时格式应该是需要json转码
payload = {"activeuseridg":"6677006280"}
payloadjson = json.dumps(payload1)
r = requests.post(url,headers=header,data=payloadjson)
类型'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
直接字符串形式就可以发送
payload = {"activeuseridg":"6677006280"}
r = requests.post(url,headers=header,data=str(payloadjson))
爬虫或接口测试遇见这样的请求,可以参考