日期:2014-05-18 浏览次数:20825 次
String strPost = "a=b&b=c&c=d"; Byte[] postBuffer = System.Text.Encoding.UTF8.GetBytes(strPost); String heads = String.Format("{0}:{1}\r\n{2}:{3}", "Accept", "*/*", "User-Agent", "Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1");