wx.request({
url: "http://your-url”,
header: {
'content-type': 'application/json'
},
method:'POST',
data: {
keyword: '关键字'
},
success: function (res) {
console.log(res.data);
}
});
wx.request({
url: "http://your-url”,
header: {
'content-type': 'application/json'
},
method:'POST',
data: {
keyword: '关键字'
},
success: function (res) {
console.log(res.data);
}
});
本文标题:wx.request POST代码示例
本文链接:https://www.haomeiwen.com/subject/xgwwmxtx.html
网友评论