Read data from URL and print it out to the console