How would you consume a RESTful API using Java with probably just the standard packages? For ex: Twitter API. I know there are great Java libraries to access it, but how would you start from scratch?