|
|
HttpItem item = new HttpItem()
{
URL = webBrowser1.Url.ToString() + @"/guestbook/fun_message?__rt=1&__ro=",//URL 必需项
Method = "post",//URL 可选项 默认为Get
ContentType = "application/x-www-form-urlencoded; charset=UTF-8",//返回类型 可选项有默认值
PostEncoding = System.Text.Encoding.UTF8,//默认为Default,
Postdata = "to_user_id="+ userid + "&sync_renren=0&sync_sina=0&sync_tencent=0&sync_messenger=0&sync_qzone=0&sync_kaixin=0&text="+ richTextBox2.Text,//Post要发送的数据
Cookie= GetCookies(webBrowser1.Url.ToString()),
};
PostEncoding 应该怎么写在encodeURI啊?我要对URL进行编码的
|
|