gmw 5 tahun lalu
induk
melakukan
51f7feb6a1
1 mengubah file dengan 0 tambahan dan 8 penghapusan
  1. 0 8
      JavaDemo/src.main/java/util/HttpClientHelper.java

+ 0 - 8
JavaDemo/src.main/java/util/HttpClientHelper.java

@@ -125,12 +125,4 @@ public class HttpClientHelper {
                 .setConnectionRequestTimeout(10000)
                 .build();
     }
-
-    public static void main(String[] args) {
-        String URL = "http://api.test.56ctms.com/user/generate_access_token/v2";
-        JSONObject jsonParams = new JSONObject();
-        jsonParams.put("userName", "15161181167");
-        jsonParams.put("password", "123456");
-        System.out.println(httpPost(URL, jsonParams, null));
-    }
 }