/* CALL WEB SERVICE */ private String callWSComment(String userID, String comment, String articleID) { // http://careager.com/careager_webservices/update_coment?name=san&[email protected]&comment=hello%20world&article_id=6 String URL = "id=" + userID + "&comment=" + comment + "&question_id=" + articleID; String txtJson = RestFullWS.serverRequest(Constant.WS_PATH, URL, Constant.WS_FORUM_COMMENT); return txtJson; }
/* CALL WEB SERVICE */ private String callWS(String userID) { // http://ec2-52-76-48-31.ap-southeast-1.compute.amazonaws.com/careager/user_webservices/forum_user_chatlist?user_id=1 String URL = "&id=" + userID; String txtJson = RestFullWS.serverRequest(Constant.WS_PATH_CAREAGER, URL, Constant.WS_FORUM_DETAIL); return txtJson; }