当前位置:知识百问>生活百科>http短信接口

http短信接口

2023-06-02 12:58:39 编辑:join 浏览量:628

http短信接口

我们公司可以提供 http短信接口发送 发送短信,<=0返回失败.大于0成功条数,个人的。企业ID为0 http://gateway.woxp.cn:6630/gb2312/web_api/?x_eid= 企业ID&x_uid=账号&x_pwd_md5=登陆密码MD5值&x_ac=10&x_gate_id=300&x_target_no=手机号码&x_memo=短信内容 1. --ASP 调用例子------------------------------------------------------------------------------------------- <% '常用函数 '输入url目标网页地址,返回卜此值getHTTPPage是目标网页的html代码 function getHTTPPage(url) dim Http set Http=server.createobject("MSXML2.XMLHTTP") Http.open "GET",url,false Http.send() if Http.readystate<>4 then exit function end if getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312") set http=nothing if err.number<>0 then err.Clear end function Function BytesToBstr(body,Cset) dim objstream set objstream = Server.CreateObject("adodb.stream") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset = Cset BytesToBstr = objstream.ReadText objstream.Close set objstream = nothing End Function '自已组合一下提交的URL加入自己的账号和密码MD5 sms_url=" http://gateway.woxp.cn:6630/gb2312/web_api/?x_eid=&x_uid=&x_pwd_md5=&x_ac=10&x_gate_id=101&x_target_no=&x_memo= 昌乎" response.write getHTTPPage(sms_url) %> 接口里需要用到账号和密码。你可以去 www.woxp.cn 注册个账号。联系我们客服帮你开通型迅迅下。 联系QQ 1014751713麻烦采纳,谢谢!

标签:http,接口,短信

版权声明:文章由 知识百问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.zhshbaiwen.com/life/122414.html
热门文章