2 ms·
Figured this out myself: $ curl 'https://deno.land/std/examples/welcome.ts' console.log("Welcome to Deno "); So this is an Accept header trick. If I d
by simonw 7y ago
Figured this out myself:
$ curl 'https://deno.land/std/examples/welcome.ts'
console.log("Welcome to Deno ");
So this is an Accept header trick. If I do this instead:
$ curl 'https://deno.land/std/examples/welcome.ts' -H 'Accept: text/html'
I get back the full HTML version of the page.