var httpFormData = filterContext.HttpContext.Request.Form; var logContent = string.Empty; //获取url的 logContent = filterContext.HttpContext.Request.QueryString.ToString(); //获取表单的 if (httpFormData.Count > 0) { try { var formDataList = (from f in httpFo…
1.HttpURLConnection发送url请求 public class JavaRequest { private static final String BASE_URL = "http://localhost:8080/dsdemo/"; public static String userToken = null; public static String problemName = null; public static String sendPost(String su…