python 后台
header = {"Content-Type": "application/json"}
data = {
"authorize_type": "silent",
"client_id": "690101a02e7089d24a",
"client_secret": "b9ffed6439e945d5a0762c43f978c1d0",
"grant_id": "133378576",
"refresh": False,
}
res = requests.post('https://open.youzanyun.com/auth/token', data=data, headers=header)
# 返回报错{success: false, code: 1000, data: null, message: '参数错误'}
是不是那个refresh false参数是不是有问题 如果不让这样写 那些什么?
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|