用自建平台发送payload报错,

{
“payload_encoding”: “plain”,
“topic”: “RH01DY”,
“qos”: 0,
“payload”: {
“A01”: 110000,
“A02”: 110000
},
“properties”: {
“payload_format_indicator”: 0,
“message_expiry_interval”: 0,
“response_topic”: “some_other_topic”,
“correlation_data”: “string”,
“user_properties”: {
“foo”: “bar”
},
“content_type”: “application/json”
},
“retain”: false
}这个payload报错statusCode is error 400,怎么写正确的payload呢?

自己解决了,无需回复了。

1 个赞