@@ -0,0 +1,1555 @@
+public class HttpsClient%0A%7B%0A%0A%09public static String post(String urlString, List%3CNameValuePair%3E params) %7B%0A%0A%09%09URL url;%0A%09%09String response = null;%0A%09%09try %7B%0A%09%09%09url = new URL(urlString);%0A%0A%09%09%09HttpsURLConnection conn = (HttpsURLConnection) url.openConnection();%0A%09%09%09conn.setReadTimeout(10000);%0A%09%09%09conn.setConnectTimeout(15000);%0A%09%09%09conn.setRequestMethod(%22POST%22);%0A%09%09%09conn.setDoInput(true);%0A%09%09%09conn.setDoOutput(true);%0A%0A%0A%09%09%09OutputStream os = conn.getOutputStream();%0A%09%09%09BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(%0A%09%09%09%09%09os, %22UTF-8%22));%0A%09%09%09writer.write(getQuery(params));%0A%09%09%09writer.flush();%0A%09%09%09writer.close();%0A%09%09%09os.close();%0A%09%09%09conn.connect();%0A%0A%09%09%09InputStream is = null;%0A%09%09%09try %7B%0A%09%09%09%09is = conn.getInputStream();%0A%09%09%09%09int ch;%0A%09%09%09%09StringBuffer sb = new StringBuffer();%0A%09%09%09%09while ((ch = is.read()) != -1) %7B%0A%09%09%09%09%09sb.append((char) ch);%0A%09%09%09%09%7D%0A%09%09%09%09response = sb.toString();%0A%09%09%09%7D catch (IOException e) %7B%0A%09%09%09%09throw e;%0A%09%09%09%7D finally %7B%0A%09%09%09%09if (is != null) %7B%0A%09%09%09%09%09is.close();%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09// TODO Auto-generated catch block%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09return response;%0A%09%7D%0A%0A%09private static String getQuery(List%3CNameValuePair%3E params)%0A%09%09%09throws UnsupportedEncodingException %7B%0A%09%09StringBuilder result = new StringBuilder();%0A%09%09boolean first = true;%0A%0A%09%09for (NameValuePair pair : params) %7B%0A%09%09%09if (first)%0A%09%09%09%09first = false;%0A%09%09%09else%0A%09%09%09%09result.append(%22&%22);%0A%0A%09%09%09result.append(URLEncoder.encode(pair.getName(), %22UTF-8%22));%0A%09%09%09result.append(%22=%22);%0A%09%09%09result.append(URLEncoder.encode(pair.getValue(), %22UTF-8%22));%0A%09%09%7D%0A%0A%09%09return result.toString();%0A%09%7D%0A%0A%7D%0A

Create HttpsClient.java