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