vincenzo.terrano 2017-12-20 15:26:20 +00:00
parent 4cc6d47f2b
commit 0b57397a16
1 changed files with 1 additions and 1 deletions

View File

@ -45,8 +45,8 @@ public class Test {
logger.warn("Executing request " + httpget.getRequestLine() + " to " + url);
CloseableHttpResponse response = httpclient.execute(httpget);
logger.warn("response code: "+ response.getStatusLine().getStatusCode());
System.out.println("response code: "+ response.getStatusLine().getStatusCode());
String json = EntityUtils.toString(response.getEntity());
logger.warn("JSON response: \n" + json);