diff --git a/src/main/Main.java b/src/main/Main.java index e418f43..5ba9a9f 100644 --- a/src/main/Main.java +++ b/src/main/Main.java @@ -14,7 +14,7 @@ public static void main(String[] args) { init(); - api.setupRestTest(Method.POST, queryParam, formParam, pathParam); + api.setupRestTest(Method.PUT, queryParam, formParam, pathParam); api.doRestTest(); System.out.println(api.getResults()); System.out.println(api.getBeforeResults()); @@ -23,8 +23,8 @@ static private void init() { api.setAccount("http://nitta-lab-www.is.konan-u.ac.jp/CactusServer/rest/accounts"); -// formParam.add(new RestParam("userID", "g")); -// formParam.add(new RestParam("userPass", "g")); + formParam.add(new RestParam("userID", "g")); + formParam.add(new RestParam("userPass", "g")); // formParam.add(new RestParam("userName", "g")); // pathParam.add("beWRKy7Oz5SI"); // formParam.add(new RestParam("token", "c4qSX1aJRitZ3x2z1OHmZ0k2I9YXaQMIluDgDgdlkeeqt3bIskbEYBLeUC5xAtZw"));