Title: Client HTTP Request class
Description: this class helps to send POST HTTP requests with various form data, including files. Cookies can be added to be included in the request.
108109110111112113114115116117118119
postMap.put("libraryid", libraryID); String message = ""; //Actually submit this... try { ClientHttpRequest request = new ClientHttpRequest(snipExServer); InputStream stream = request.post(postMap); String stringFromInputStream = ResourceUtils.getStringFromInputStream(stream); message = stringFromInputStream; } catch (IOException e) { e.printStackTrace();