Fly free SMS API Interface call Way (access to the following URL via HTTP, support get and post): Http://sms.api.bz/fetion.php?username= your mobile flying letter login Mobile phone number &password= Your mobile flying Letter login Password &sendto= receive the message of the Flying friend mobile phone number (can also be your own mobile phone number) &message= SMS content
Note: The maximum length of the text message is 180 characters, and more than 180 Chinese characters are not sent. The returned information is UTF-8 encoded in Chinese text information.
May 28, 2009 Add: Fly free SMS API interface call mode (via HTTPS encrypted tunnel access to the following URLs, support get and post, further guarantee your password security): Https://sms.api.bz/fetion.php?username = Your mobile flying Letter login Mobile phone number &password= your mobile flying letters login password &sendto= receive SMS message of the Flying friend mobile phone number (can also be your own mobile phone number) &message= SMS content
Note: The maximum length of the text message is 180 characters, and more than 180 Chinese characters are not sent. The returned information is UTF-8 encoded in Chinese text information.
Source: Zhang Yi Gao, his APMs is also very strong.
Send instance: I wrote it myself ~ C # 's
C # CODE:
aspx
<% @ Page Language = "C #" AutoEventWireup = "true" CodeFile = "Default.aspx.cs" Inherits = "_default"%> <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> < HTML xmlns =" http://www.w3.org/1999/xhtml "> < head runat =" server "> < title > SMS Send </title >
Using System; Using System.Data; Using System.Configuration; Using System.Web; Using System.Net; Using System.Web.Security; Using System.Web.UI; Using System.Web.UI.WebControls; Using System.Web.UI.WebControls.WebParts; Using System.Web.UI.HtmlControls; Public partial class _default:system.web.ui.page {protected void Send_click (object sender, EventArgs e) {string num = Tel. Text; String contents = content. Text; String url = "https://sms.api.bz/fetion.php?username=13800000000" + "&password=00000000000000&sendto=" + num + "&message=" + contents; HttpWebRequest req = (HttpWebRequest) httpwebrequest.create (URL); Req. method = ' Get '; using (WebResponse WR = req. GetResponse ()) {Response.Write ("SMS sent successfully.) "); } } }