09 2023 档案

摘要://post 请求报文体的接收方式 HttpContext.Current.Response.ContentType = "application/json"; HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.U 阅读全文
posted @ 2023-09-20 13:45 谢大山啊 阅读(13) 评论(0) 推荐(0) 编辑
摘要:/// /// Http上传文件类 - HttpWebRequest封装 /// public static string PostByForm(UploadParameterType parameter, string token) { try { using (MemoryStream memo 阅读全文
posted @ 2023-09-20 13:44 谢大山啊 阅读(391) 评论(0) 推荐(0) 编辑
摘要:public static string DownFileByHttpRes(string url, Dictionary<string, string> paras,string path) { try { ServicePointManager.SecurityProtocol = Securi 阅读全文
posted @ 2023-09-20 13:39 谢大山啊 阅读(39) 评论(0) 推荐(0) 编辑
摘要:public static string DoPostByADK(string url, string jsonData,string token) { //发送Post请求 try { ServicePointManager.ServerCertificateValidationCallback 阅读全文
posted @ 2023-09-20 12:52 谢大山啊 阅读(36) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示