there is no problem with the request code on other people"s computers, but this error is reported on my computer? I don"t know why
var databody = "";
var token = null;
wx.request({
url: "",
data: databody,
method: "POST",
header: { "Content-Type": "application/json"},
success: function (res) {
// success
var resData = res.data;
console.log(resData);
},
fail: function () {
// fail
},
complete: function () {
// complete
}
});