This example will show how to make a get request using Apache HttpComponents httpclient. In the event you are using Commons HttpClient, you will want to upgrade as it is no longer being developed. This approach is pretty low level and most frameworks wrap this code to make deserializing responses to java object simpler.
SparkFun allows you to create a dynamic feed or stream of data. Exploring the public feed we will make a request to Wimp Weather Station returning a response content type of JSON.
Output