From 260bff4fa9b7d2d7123afb0bfa34181b4e4f22dd Mon Sep 17 00:00:00 2001 From: rohit-behera <72158316+rohit-behera@users.noreply.github.com> Date: Fri, 2 Oct 2020 20:19:48 +0530 Subject: [PATCH] Update Main.java --- Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.java b/Main.java index bab7114..3ad2053 100644 --- a/Main.java +++ b/Main.java @@ -30,7 +30,7 @@ public static void main(String[] args) { CloseableHttpResponse response = httpClient.execute(getHomePage); String responseHtml = EntityUtils.toString(response.getEntity()); String xsrfValue = responseHtml.split("")[0]; - System.out.println("_xsrf:" + xsrfValue); + System.out.println("_xsrf_value:" + xsrfValue); response.close(); List valuePairs = new LinkedList(); valuePairs.add(new BasicNameValuePair("_xsrf" , xsrfValue));