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));