Search... Ctrl + K

Send GET Request (http)
One script reply has been approved by the moderators Verified

Created by armancedinari 187 days ago Used 271 times 0 Points

No comments yet

Points: 0
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 jaller94 122 days ago

Edited 122 days ago

No comments yet