request请求的url
发布于 5 年前 作者 hfeng 7435 次浏览 来自 问答

request合法域名,配制成这样https://www.example.com

wx.request(url:‘https://www.example.com/getlive.php’)

为何会请求失败?


3 回复

这个我知道,我就是问wx.request()的URL配置成https://www.example.com/getlive.php为何会请求失败

host+port+path本来就不带前面的协议

回到顶部