关于以下API请求说法错误的是wx.request({url:'https://zjgsujiaoxue.applinzi.com/index.php/Api/Weixin/code()to()openidv2',data:{questionA.right},success:function(res){console.log('http返回值',res)},fail:function(res){console.log('http返回值',res)}})


关于以下API请求说法错误的是wx.request({url:'https://zjgsujiaoxue.applinzi.com/index.php/Api/Weixin/code()to()openidv2',data:{questionA.right},success:function(res){console.log('http返回值',res)},fail:function(res){console.log('http返回值',res)}})

A.questionA.right表示向后台传送字符串‘right’

B.console.log(‘http返回值’,res)表示请求成功打印后台返回值

C.console.log(‘http返回值’,res)表示请求失败打印后台返回值

D.该请求的HTTP请求方法是POST

正确答案:该请求的HTTP请求方法是POST


Tag:微信小程序开发从入门到实践 后台 方法 时间:2022-01-17 19:51:32