logger.info("Using the Extract Entities Service: " + extractionURL);
logger.info("Sending:" + urlParameters);
String url = extractionURL;
URL obj = new URL(url);
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
// add request header
con.setRequestMethod("POST");
con.setRequestProperty("Accept", "application/json");
con.setRequestProperty("Content-Type", "application/json");