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

  • deno
    One script reply has been approved by the moderators
    Ap­pro­ved
    export async function main(url: string) {
      const resp = await fetch(url);
    
      return {
        ok: resp.ok,
        status: resp.status,
        text: await resp.text(),
      };
    }
    

    Submitted by hugo697 386 days ago

  • deno
    export async function main(url: string) {
      const resp = await fetch(url);
    
      return {
        ok: resp.ok,
        status: resp.status,
        text: await resp.text(),
      };
    }
    

    Submitted by admin 1018 days ago

  • deno
    export async function main(url: string) {
        const resp = await fetch(url);
    
        return {
            ok: resp.ok,
            status: resp.status,
            text: await resp.text(),
        };
    }

    Submitted by jaller94 1387 days ago