【文件属性】:
文件名称:微信小程序开发问答《五十一》post请求服务器收不到参数 & 小程序ajax请求问题
文件大小:42KB
文件格式:PDF
更新时间:2021-03-29 18:06:46
微信,小,程序开发,问答,《,五十一,》,post,
1、微信小程序 post请求服务器接收不到参数
解决办法:加上 "Content-Type": "application/x-www-form-urlencoded"
[javascript] view plain copy
wx.request({
url: 'https://....php',
header: {
"Content-Type": "application/x-www-form-urlencoded"
},