阅读背景:

微信小程序开发POST请求_程序员哆啦A梦,蓝胖子

来源:互联网 

微信小程序开发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



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: