https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token={token}
参数:用String形式 "data": "{\"thing1.DATA\":{\"value\":\"粤B12345\"},\"thing7.DATA\":{\"value\":\"test7\"},\"thing9.DATA\":{\"value\":\"test9\"},\"thing12.DATA\":{\"value\":\"test12\"},\"time8.DATA\":{\"value\":\"12:02\"}}"
或者用object :"data": {
"thing1.DATA": {
"value": "粤B12345"
},
"thing7.DATA": {
"value": "test7"
},
"thing9.DATA": {
"value": "test9"
},
"thing12.DATA": {
"value": "test12"
},
"time8.DATA": {
"value": "12:02"
}
}
都最终提示 {
"errcode": 47003,
"errmsg": "argument invalid! data.thing1.value is empty rid: 6449eab9-1d1db119-6ef661c1"
}
postman上调用的
不是这样写的,不需要加【.DATA】。
可以参考下示例:
.DATA去掉