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 1209 days ago
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 1236 days ago