I want to use JSOUP for a automatical login on the website http://www.footballdatabase.eu. For that I read some advices on stackoverflow, but it didn't help me.
So for make login on current website, I used this code, but it doesn't login:
Connection.Response loginForm = Jsoup.connect("http://www.footballdatabase.eu")
.data("login", "mylog")
.data("password", "mypass")
.method(Connection.Method.POST)
.execute();
Document document = Jsoup.connect("http://www.footballdatabase.eu")
.cookies(loginForm.cookies())
.get();
System.out.println(document);