微信小程序POST请求参数传递不到后台解决方案

问题:POST 请求参数传递不到后台 
解决方案: 
Content-Type’: ‘application/json’用在get请求中没问题. 

但是在POST请求中的时候需要使用”Content-Type”: “application/x-www-form-urlencoded”

转载自 隔壁的比特币,如果涉及版权联系我删除

猜你喜欢

转载自blog.csdn.net/xiaoye_1029/article/details/79429607