Downloading things¶ 1 2 3 4 5 6 7 8// Save to the current directory. wget("https://www.google.com/robots.txt") // Grab as a string. echo(wgetAsString("https://www.google.com/robots.txt")) // Pass a bearer auth token. wgetOptions.headers["Authorization"] = "Bearer foobar"