请问微信小程序中request到这个地址时,post body中的内容应该怎么写
https://blog.csdn.net/weixin_41695981/article/details/79235513
wx.request({
url: 'https://', //仅为示例,并非真实的接口地址
data: {
username: 'cs',
password: '123456',
mobileLogin:true
},
method:'POST',
header: {
'content-type': 'application/x-www-form-urlencoded'
},
success (res) {
console.log(res.data)
}
})
诶他的其他人都说过了,我就说一个问题,微信不能用http,必须https