private String doPost(String api, String body) {
		String query = "apikey=" + apiKey;
		String answer = null;
		URLConnection client = null;
		;
		statusCode = 0;
		lastAnswer = null;
		try {
			client = new URL(infoConnectAPIRoot + api + "?" + query).openConnection();
			System.out.println("Request: POST " + client.getURL());
			System.out.println("Body: " + body);
			client.setDoOutput(true);
			client.setRequestProperty("Content-Type", postFormat);
			client.setRequestProperty("Accept", resultFormat);
			OutputStream output = null;
			try {
				output = client.getOutputStream();
				output.write(body.getBytes("UTF-8"));
			} finally {
				if (output != null)
					try {
						output.close();
					} catch (IOException logOrIgnore) {
					}
			}
			InputStream response = client.getInputStream();
			HttpURLConnection httpConnection = (HttpURLConnection) client;

			statusCode = httpConnection.getResponseCode();
			System.out.println("Response code: " + statusCode);

			answer = IOUtils.toString(response);
			System.out.println("Response: " + answer);
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (IOException e) {
			HttpURLConnection httpConnection = (HttpURLConnection) client;
			try {
				answer = IOUtils.toString(httpConnection.getErrorStream());
			} catch (Exception e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
		}

		lastAnswer = answer;

		return answer;
	}