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 900 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 927 days ago