Пример #1
0
        private string Http_POST(string url, MsMultiPartFormData form)
        {
            HttpHelper http = new HttpHelper();

            http.Url          = url;
            http.Method       = Method.POST;
            http.ContentType  = "multipart/form-data; boundary=" + form.Boundary;
            http.PostDataByte = form.GetFormData();
            http.Do();
            return(http.Html);
        }
Пример #2
0
 private string Http_POST(string url, MsMultiPartFormData form)
 {
     HttpHelper http = new HttpHelper();
     http.Url = url;
     http.Method = Method.POST;
     http.ContentType = "multipart/form-data; boundary=" + form.Boundary;
     http.PostDataByte = form.GetFormData();
     http.Do();
     return http.Html;
 }