I am trying to send a post request with the code below, but it gives an error. This is the log:
E/err: HTTP error fetching URL
E/err: org.jsoup.HttpStatusException: HTTP error fetching URL. Status=500, URL=https://eksisozluk.com/entry/favla
And this is my code:
Jsoup.connect("https://eksisozluk.com/entry/favla")
.data("entryId", entryId)
.cookies(loginCookies)
.userAgent("Mozilla")
.method(Connection.Method.POST)
.execute();