mercredi 28 juillet 2021

can't login on page using Jsoup

I wanna login on Website and take some information from it. I use library of Jsoup. And it doesn't work. I tried to get some cookies, but they are null, because of it happens problems. [error][1] [1]: https://ift.tt/2UVjg8g

I tried to try different code.

        org.jsoup.Connection.Response test = Jsoup.connect("https://school4yalta.eljur.ru/authorize")
            .data("username", "username")
            .data("password", "password")
            .data("return_uri", "/journal-user-preferences-action/")
            .method(Method.POST)
            .execute();

    System.out.print(test);

and: [response][2] [2]: https://ift.tt/3lbyTU5

I looked all thing what I can, but anything don't work. Please, help me. Sorry, if I made mistakes' sentence




Aucun commentaire:

Enregistrer un commentaire