Last active
December 14, 2015 12:28
-
-
Save maxwellE/5086265 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
import com.github.kevinsawicki.http.HttpRequest; | |
public class HTTPCaller { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
String body = HttpRequest.get("http://redlights.herokuapp.com", true, "latitude", 40, "longitude", -83,"distance_in_miles",10).body(); | |
System.out.println(body); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment