发送XML(新版)
开发中POST
/请求参数
Body 参数application/json
data
object
必需
to_wxid
string
必需
content
string
必需
client_id
integer
必需
type
string
必需
示例
{
"data": {
"to_wxid": "filehelper",
"content": "<appmsg appid=\"wx6618f1cfc6c132f8\" sdkver=\"0\"><title>1658934822522.gif</title><des></des><action>view</action><type>8</type><showtype>0</showtype><content></content><url></url><dataurl></dataurl><lowurl></lowurl><lowdataurl></lowdataurl><recorditem></recorditem><thumburl></thumburl><messageaction></messageaction><md5>a2ed2d6159ad865c93ba25db74df4616</md5><extinfo></extinfo><sourceusername></sourceusername><sourcedisplayname></sourcedisplayname><commenturl></commenturl><appattach><totallen>393652</totallen><attachid></attachid><emoticonmd5>a2ed2d6159ad865c93ba25db74df4616</emoticonmd5><fileext>gif</fileext><cdnattachurl>3057020100044b3049020100020462ac90a202032df4d9020428fb131b020462e15ab0042435306239613864642d626562392d343535612d383663662d6431666335373935396266630204011400050201000405004c4c6d00</cdnattachurl><aeskey>24b6123e04d1d08702143658917c85e7</aeskey></appattach><weappinfo><pagepath></pagepath><username></username><appid></appid><appservicetype>0</appservicetype></weappinfo><websearch /></appmsg>"
},
"client_id": 1,
"type": "MT_SEND_XML_V2_MSG"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 2 年前