05-13-2014 12:10 PM
05-13-2014 11:24 PM
HttpClient client = new HttpClient();
PostMethod method = new PostMethod("http://IP/alfresco/service/mywebscript");
method.setQueryString(new NameValuePair[] {
new NameValuePair("name", "George")
});
05-14-2014 04:28 AM
05-14-2014 05:07 AM
JSONObject data = new JSONObject();
data.put("test", "this is a test");
method.setRequestEntity(new StringRequestEntity(data.toString(), "application/json", "UTF-8"));
setParameter("Connection", "Keep-Alive");
05-14-2014 12:52 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.