09 2023 档案
摘要://post 请求报文体的接收方式 HttpContext.Current.Response.ContentType = "application/json"; HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.U
阅读全文
摘要:/// /// Http上传文件类 - HttpWebRequest封装 /// public static string PostByForm(UploadParameterType parameter, string token) { try { using (MemoryStream memo
阅读全文
摘要:public static string DownFileByHttpRes(string url, Dictionary<string, string> paras,string path) { try { ServicePointManager.SecurityProtocol = Securi
阅读全文
摘要:public static string DoPostByADK(string url, string jsonData,string token) { //发送Post请求 try { ServicePointManager.ServerCertificateValidationCallback
阅读全文