I have searched everywhere but I couldn\'t find my answer, is there a way to make a simple HTTP request? I want to request a PHP page / script on one of my websites but I do
private String getToServer(String service) throws IOException { HttpGet httpget = new HttpGet(service); ResponseHandler responseHandler = new BasicResponseHandler(); return new DefaultHttpClient().execute(httpget, responseHandler); }
Regards