Created
November 26, 2013 16:07
-
-
Save vasc/7661043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DefaultHttpClient httpclient = new DefaultHttpClient(new BasicHttpParams()); | |
HttpGet httpget = new HttpGet("http://172.20.0.3:3000/vasc/shots/popular"); | |
InputStream inputStream = null; | |
String result = null; | |
try { | |
HttpResponse response = httpclient.execute(httpget); | |
HttpEntity entity = response.getEntity(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment