@ converted to %40 in HTTPPost request

i m trying to send post request to webservice.. when i add special character @ in parameter it is coverted to %40.i have checked server side..they are getting %40 instead of @. can any one help me?? here is my code.. httpclient = new DefaultHttpClient(); List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(); nameValuePairs.add(new BasicNameValuePair(“Email”, “[email protected]”)); httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs)); … Read more

Does WordPress send data about your blog to WordPress.org or Automattic?

I’ve recently heard someone say WordPress does send data about your blog to back home. Is that true? and if so what data is that or where in the code can I see what’s exchanged? 3 Yes, it does. See Ticket #16778 wordpress is leaking user/blog information during wp_version_check(). All the details are in /wp-includes/update.php: … Read more

How to send HTTP request in java? [duplicate]

You can use java.net.HttpUrlConnection. Example (from here), with improvements. Included in case of link rot: public static String executePost(String targetURL, String urlParameters) { HttpURLConnection connection = null; try { //Create connection URL url = new URL(targetURL); connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod(“POST”); connection.setRequestProperty(“Content-Type”, “application/x-www-form-urlencoded”); connection.setRequestProperty(“Content-Length”, Integer.toString(urlParameters.getBytes().length)); connection.setRequestProperty(“Content-Language”, “en-US”); connection.setUseCaches(false); connection.setDoOutput(true); //Send request DataOutputStream wr = new … Read more

How to send HTTP request in java?

You can use java.net.HttpUrlConnection. Example (from here), with improvements. Included in case of link rot: public static String executePost(String targetURL, String urlParameters) { HttpURLConnection connection = null; try { //Create connection URL url = new URL(targetURL); connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod(“POST”); connection.setRequestProperty(“Content-Type”, “application/x-www-form-urlencoded”); connection.setRequestProperty(“Content-Length”, Integer.toString(urlParameters.getBytes().length)); connection.setRequestProperty(“Content-Language”, “en-US”); connection.setUseCaches(false); connection.setDoOutput(true); //Send request DataOutputStream wr = new … Read more