学习编程得第N天,发现一个超简单验证码短信接口对接DEMO示例
步骤
1.注册 互亿无线 账号
2.查找APIID和APIKEY
3.代码的书写
注册 互亿无线 账号
网站: http://user.ihuyi.com/?JA9Ewr
查找APIID和APIKEY
注意事项:
(1)调试期间,请使用用系统默认的短信内容:您的验证码是:【变量】。请不要把验证码泄露给其他人。
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://106.ihuyi.com/webservice/sms.php?wsdl
// >Import : http://106.ihuyi.com/webservice/sms.php?wsdl:0
// Encoding : utf-8
// Version : 1.0
// (2013/11/26 10:37:24 - - $Rev: 10138 $)
// ************************************************************************ //
unit sms;
interface
uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;
const
IS_OPTN = $0001;
IS_REF = $0080;
type
// ************************************************************************ //
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the lat