appid我传了但是还是报{"errcode":41002,"errmsg":"appid missing rid: 65d18a29-198644ab-6e38456f"},我的代码:
import requests
'''
清空接口使用次数
'''
# 获取access_token
data = {
'grant_type': 'xxx',
"appid": 'xxx',
'secret': 'xxx'
}
response = requests.post(
'https://api.weixin.qq.com/cgi-bin/stable_token', data=data
)
print(response.text)
你请求包格式是这样的grant_type=xxx&appid=xxx&secret=xxx
data=data 改成 json=data
content-type是application/json吗