From https://developer.android.com/reference/java/net/HttpURLConnection.html HttpUrlConnection: A URLConnection with support for HTTP-specific features. See the specfor details. Uses of this class follow a pattern: Obtain a new HttpURLConnection by c
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