标签:
public string getPostBackStream(string rUrl)
{
WebClient myWebClient = new WebClient();
NameValueCollection myNameValueCollection = new NameValueCollection();
myNameValueCollection.Add("title", "this is title");
myNameValueCollection.Add("excerpt", "this is excerpt");
byte[] responseArray = myWebClient.UploadValues(rUrl, "POST", myNameValueCollection);
return Encoding.ASCII.GetString(responseArray);
}
标签:
原文地址:http://www.cnblogs.com/zzq-include/p/4487990.html