微信小程序开发POST请求
wx.request( {
url: "https://op.juhe.cn/onebox/weather/query",
header: {
"Content-Type": "application/x-www-form-urlencoded"
},
method: "POST",
//data: { cityname: "上海", key: "de" },
data: Util.json2Form( { cityname: "上海", key: "fddf" }),
complete: function( res ) {
}
})
wx.request( {
ur