public static void AddArticle(string strContent) { string loginUrl = strApiUrl + "/index.php/api/index/add_article"; RssSource rs = new RssSource(); Encoding encoding = Encoding.GetEncoding("utf-8"); IDictionary <string, string> parameters = new Dictionary <string, string>(); parameters.Add("article_content", strContent.ToString()); HttpWebResponse response = HttpWebResponseUtility.CreatePostHttpResponse(loginUrl, parameters, null, null, encoding, null); StreamReader reader = new StreamReader(response.GetResponseStream(), encoding); return; //Console.WriteLine("timerGetLinks_Elapsed"); }