Jump to content

HTTP: Difference between revisions

215 bytes added ,  1 year ago
m
no edit summary
mNo edit summary
Line 2,762:
Dim content As String = client.DownloadString("http://www.google.com")
Console.WriteLine(content)
</syntaxhighlight>
 
=={{header|V (Vlang)}}==
<syntaxhighlight lang="Vlang">
import net.http
 
fn main() {
resp := http.get("http://rosettacode.org/robots.txt") or {println(err) exit(-1)}
println(resp.body.str())
}
</syntaxhighlight>
 
291

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.