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