点击这里给我发消息
帮助中心

工作时间:8:30 - 17:30

ASP

<%
Function Post(url,data)
	dim Https 
	set Https=server.createobject("MSXML2.XMLHTTP")
	Https.open "POST",url,false
	Https.setRequestHeader "Content-Type","application/x-www-form-urlencoded;charset=UTF-8"
	Https.send data
	if Https.readystate=4 then
		dim objstream 
		set objstream = Server.CreateObject("adodb.stream")
		objstream.Type = 1
		objstream.Mode =3
		objstream.Open
		objstream.Write Https.responseBody
		objstream.Position = 0
		objstream.Type = 2
		objstream.Charset = "utf-8"
		Post = objstream.ReadText
		objstream.Close
		set objstream = nothing
		set https=nothing
	end if
End Function

dim target,post_data
target = "http://sms.106jiekou.com/utf8/sms.aspx"
post_data = "account=&password=&mobile=&content="&Server.URLEncode("您的验证码是:4557。请不要把验证码泄露给其他人。如非本人操作,可不用理会!")

response.Write(Post(target,post_data))
''//请自己解析Post(target,post_data)返回的字符串并实现自己的逻辑
''100表示成功,其它的参考文档
%>