In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "how to use ASP.NET to call Feixin to send free text messages," interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "how to use ASP.NET to call Feixin to send free text messages"!
The copy code is as follows:
#region Free send fly interface (2014-01-06 16:20 Test valid)
///
///Send Feimen interface for free (you can only send it if you open Feimen and add the other party as a friend, or you can send it to yourself for testing)
///
///Login Feixin mobile phone number
///Login password
///receive mobile phone
///SMS content
///
public bool sendfetion(string sendNumber, string sendPassword, string receiveNumber, string Content)
{
string url = string.Format("https://quanapi.sinaapp.com/fetion.php? u={0}&p={1}&to={2}&m={3}", sendNumber, sendPassword, receiveNumber, HttpUtility.UrlEncode(Content));
string strRet = "";
try
{
HttpWebRequest hr = (HttpWebRequest)WebRequest.Create(url);
hr.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
hr.Method = "GET";
hr.Timeout = 30 * 60 * 1000;
WebResponse hs = hr.GetResponse();
Stream sr = hs.GetResponseStream();
StreamReader ser = new StreamReader(sr, Encoding.Default);
strRet = ser.ReadToEnd();
}
catch (Exception er)
{
strRet = "";
}
if (! strRet.Contains(":0")) return false;//Data returned on success: {"result":0,"message":"\u53d1\u9001\u6210\u529f"}
return true;
}
#endregion
The interface is built on SinaAppEngine, and SAE's service is relatively reliable.
The sender user, password do not write wrong, and then the recipient must be himself or a friend of Fetion, in order to send successfully.
At this point, I believe that we have a deeper understanding of "how to use ASP.NET to call Fetion free SMS," may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.