Corrected the use of the wrong request object in the example

This commit is contained in:
Oleg Kalnichevski 2024-01-14 11:29:05 +01:00
parent 8d9c764d6e
commit 5f6ad302ba
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class ClientFormLogin {
.addParameter("IDToken1", "username")
.addParameter("IDToken2", "password")
.build();
httpclient.execute(httpget, response -> {
httpclient.execute(login, response -> {
System.out.println("----------------------------------------");
System.out.println("Login form get: " + response.getCode() + " " + response.getReasonPhrase());
EntityUtils.consume(response.getEntity());