Great, it always good to be reminded that you don't always need an heavyweight library for simple HTTP requests. But note that you probably want to use an HTTPS endpoint with proper security (see for details) when sending an OAuth authorization token. Even if it just an example, security should not be left out.