5G消息 MESSAGE OVER 5G-多媒体文件上传:消息样例

时间:2024-04-28 11:16:18

消息样例

这个是传入的请求
urlhttp://10.120.207.128:8323/openchatbot/v2/sip:chatbotid32test1@botplatform.rcs.chinamobile.com/files
以下是请求参数信息---
{"File":{"fileId":"12341234","fileSize":20,"status":"OK","fileUrl":"src/1.txt","validity":""}}
以上是请求参数信息---
以下是获取响应信息===
conn.getResponseCode():200
conn.getURL():http://10.120.207.128:8323/openchatbot/v2/sip:chatbotid32test1@botplatform.rcs.chinamobile.com/files
conn.getRequestMethod():POST
conn.getContentType():application/xml
conn.getReadTimeout():0
conn.getResponseMessage():OK
url.getDefaultPort():80
url.getFile():/openchatbot/v2/sip:chatbotid32test1@botplatform.rcs.chinamobile.com/files
url.getHost():10.120.207.128
url.getPath():/openchatbot/v2/sip:chatbotid32test1@botplatform.rcs.chinamobile.com/files
url.getPort():8323
url.getProtocol():http
url.getQuery():null
url.getRef():null
url.getUserInfo():null
以上是获取响应信息===DDD=
status:200
support.huaweicloud.com/devg-messageover5g/messageover5g_04_0002_1.html