Add log request

This commit is contained in:
Mathieu Sanchez 2019-06-12 21:31:38 +09:00
parent 8314a770f1
commit 6951f4ad56

View File

@ -20,6 +20,7 @@ public class App {
get("/search", (req, res) -> {
Gson gson = new Gson();
String[] words = req.queryParams("s").split("/+");
System.out.println("Request : " + req.queryParams("s"));
ArrayList<Result> results = getResults(words);
return gson.toJson(results);
});