diff --git a/src/main/Main.java b/src/main/Main.java index f7f53af..47e80be 100644 --- a/src/main/Main.java +++ b/src/main/Main.java @@ -23,12 +23,13 @@ } static private void init() { +// api.setAccount("https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22greenland%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys"); api.setAccount("http://nitta-lab-www.is.konan-u.ac.jp/CactusServer/rest/accounts"); - formParam.add(new RestParam("userID", "q")); - formParam.add(new RestParam("userPass", "q")); + formParam.add(new RestParam("userID", "test")); + formParam.add(new RestParam("userPass", "test")); // formParam.add(new RestParam("userName", "g")); // pathParam.add("logout"); -// formParam.add(new RestParam("token", "t38Xkpbw9GuzNweM4NVAxC8TLHq0YBTDm51kC0Ley3GdCvxqbRgX0reGNBpL32eb")); +// formParam.add(new RestParam("token", "B34hYLKovzjF5v36wb684Mf6ij23m0Q0uynJ41BrzFDHBRvJiblTW326NITEXEfK")); } }