Edits history of script submission #10 for ' Send GET Request (http)'

  • deno
    export async function main(url: string) {
      const req = new Request(url, {
        method: "GET",
      });
      let resp = await fetch(req);
    
      return { response: await resp.text() };
    }

    Submitted by rossmccrann 1421 days ago

  • deno
    export async function main() {
      const req = new Request("https://example.com/", {
        method: "GET",
      });
      let resp = await fetch(req);
    
      return { response: await resp.text() };
    }

    Submitted by rossmccrann 1448 days ago