不能成功调用阿里云API
wx.request({
url: ‘https://wuliu.market.alicloudapi.com/kdi?no=’+nu,
header: {
‘AppCode’: ‘xxxx’,
},
提交有,显示未授权,
在头部,需要添加Authorization吗?如果需要,怎么写?
2 回复
wx.request({
url: ‘https://wuliu.market.alicloudapi.com/kdi?no=’+nu,
header: {
‘Authorization’: ‘APPCODE XXXXXXXX’,
},