Sample code to retrieve a web page
Sample code for REST client