微信小程序调用豆瓣Api 403错误 接口地址在浏览器访问正常 求解
wx.request({
url: “http://api.douban.com/v2/movie/in_theaters”,
method: “GET”,
data: {},
header: {
‘Content-Type’: “json”
},
success: function (res) {
console.log(res.statusCode)
}
})