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 869 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 896 days ago