export async function main(url: string, request_type: string) {
const req = new Request(url, {
method: request_type,
});
let resp = await fetch(req);
return { response: await resp.text() };
}
Submitted by admin 497 days ago
export async function main(url: string, request_type: string) {
const req = new Request(url, {
method: request_type,
});
let resp = await fetch(req);
return { response: await resp.text() };
}
Submitted by rossmccrann 900 days ago