摘要: 1 public static void request() 2 { 3 string filepath = path; 4 var formDatas = new List<FormItemModel>(); 5 //添加文件 6 formDatas.Add(new FormItemModel() 阅读全文
posted @ 2022-05-11 15:32 进击的黑大帅 阅读(671) 评论(0) 推荐(0) 编辑
摘要: public string Post(string postdata, string url) { string result = string.Empty; try { HttpWebRequest? request = WebRequest.Create(url) as HttpWebReque 阅读全文
posted @ 2022-05-11 15:28 进击的黑大帅 阅读(100) 评论(0) 推荐(0) 编辑