stable_token 接口为什么postman能调,微信开发者工具本地就报错43002?
43002 require POST method rid: 6527bd5a-4c58fd06-5145b0db
wx.request({
url: 'https://api.weixin.qq.com/cgi-bin/stable_token',
methods:'post',
header: {ContentType:"application/json"},
data:{
"grant_type": "client_credential",
"appid": "",
"secret": ""
},
success:(data)=>{
console.log(111,data);
},
fail:(err)=>{
console.log(222,err);
}
})