pingguoyuan 2017-05-31 14:43:14 1869次浏览 0条回复 0 0 0

Post请求示例

urlencode

userid=J10003&pwd=26dad7f364507df18f3841cc9c4ff94d&timestamp=0803192020&multimt=[{"mobile":"13800138000","content":"%b2%e2%ca%d4%b6%cc%d0 %c5","svrtype":"SMS001","exno":"0006","custid":"b3d0a2783d31b21b8573","exdata":"exdata000001"},{"mobile":"13100131000","content":"%b2%e 2%ca%d4%b6%cc%d0%c5","svrtype":"SMS002","exno":"0007","custid":"b3d0a2783d31b21b8573","exdata":"exdata000002"}]

JSON

{"userid":"J10003","pwd":"26dad7f364507df18f3841cc9c4ff94d","timestamp":"0803192020","multimt":[{"mobile":"13800138000","content":"%b2%e2%ca%d4%b6%cc%d0%c5","svrtype":"SMS001","exno":"0006","custid":"b3d0a2783d31b21b8573","exdata":"exdata000001"},{"mobile":"13100131000","content":"%b2%e2%ca%d4%b6%cc%d0%c5","svrtype":"SMS002","exno":"0007","custid":"b3d0a2783d31b21b8573","exdata":"exdata000002"}]}

XML

<?xml version=1.0 encoding=utf-8?>

<userid>J10003</userid>
26dad7f364507df18f3841cc9c4ff94d 0803192020 13800138000 %b2%e2%ca%d4%b6%cc%d0%c5 SMS001 0006 b3d0a2783d31b21b8573 exdata000002 13100131000 %b2%e2%ca%d4%b6%cc%d0%c5 SMS002 0007 b3d0a2783d31b21b8573 exdata000002

发送成功返回示例

JSON (urlencode与JSON请求都以JSON返回数据)

{ "result":0, "msgid":9223372036854775808, "custid":9223372036854775808 }

XML

<?xml version=1.0 encoding=utf-8?>

<result>0</result>
9223372036854775808 9223372036854775808

发送失败返回示例

JSON (urlencode与JSON请求都以JSON返回数据) { "result":-100999, "msgid":0, "custid":"" }

XML

<?xml version=1.0 encoding=utf-8?>

<result>-100999</result>
0

平台:http://www.monyun.cn/?zG9h4yTS

    没有找到数据。
您需要登录后才可以回复。登录 | 立即注册