wx.request如何能请求到服务器返回的json发布于 7 年前作者 iliao3061 次浏览最后编辑 7 年前来自 ask以当前条件去请求服务器地址,在wx.request里设置的是application/json 拿到json数据,但目前返回的是 data:"<html> ↵ <head> ↵ <meta http-equiv="refresh" content="0;url=/index"> ↵ </head> ↵</html>"errMsg:"request:ok"statusCode:200 在浏览器https访问地址是可以拿到,但在微信小程序开发工具里不行,打印出来的是上面的东西