1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 10:39:10 -05:00
denoland-deno/cli/tests/045_proxy_client.ts
2019-09-24 18:52:01 -04:00

7 lines
236 B
TypeScript

// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
async function main(): Promise<void> {
const res = await fetch("http://deno.land/welcome.ts");
console.log(`Response http: ${await res.text()}`);
}
main();