Task

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

There is a separate task for HTTPS Requests.




 
#include <hopper.h>
main:
   s=`curl -s -L https://rosettacode.org/wiki/HTTP`
   {s}len, lenght=0, mov(lenght)
   {"Size = ",lenght,"\nContent = \n",s}println
exit(0)
 