Task

Access and print a URL's content (the located resource) to the console.

There is a separate task for HTTPS Requests.




 
package require http
set request [http::geturl "http://www.rosettacode.org"]
puts [http::data $request]
http::cleanup $request