wx.request的header中,参数的key为Host,会报错:Refus
- 需求的场景描述(希望解决的问题)
wx.request({
//url: config.service.uploadUrl,
url: ‘https://***’,
header: {
‘Host’: ‘***’
},
报错:
2 回复
wx.request({
//url: config.service.uploadUrl,
url: ‘https://***’,
header: {
‘Host’: ‘***’
},
报错: