StringEntity entity = new StringEntity(xmlSend, "UTF-8"); DefaultHttpClient httpClient = new DefaultHttpClient(); HttpPost post = new HttpPost(watchUrl); post.addHeader(" * ", " * "); post.setEntity(entity); HttpResponse response = httpClient.execute(post); if(response != null) { InputStream inputstream = response.getEntity().getContent(); String xmlGet = StmToStr(inputstream); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)