通过验证码短信http调用接口,您可以很快速的在网站或者app中集成手机号验证功能,该源码只是核心代码,具体可以根据您的实际需求进行扩展。
该DEMO是VB通过http调用验证码短信接口源码;
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "Mswinsck.OCX"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 4740
ClientLeft = 120
ClientTop = 450
ClientWidth = 5940
LinkTopic = "Form1"
ScaleHeight = 4740
ScaleWidth = 5940
StartUpPosition = 2 '屏幕中心
Begin MSWinsockLib.Winsock Winsock1
Left = 4920
Top = 4200
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.TextBox Text4
Height = 270
Left = 360
TabIndex = 4
Text = $"Form1.frx":0000
Top = 1200
Width = 5415
End
Begin VB.TextBox Text3
Height = 270
Left = 360
TabIndex = 3
Text = "手机号码"
Top = 840
Width = 2775
End
Begin VB.TextBox Text2