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 hugo697 162 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 admin 795 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 1197 days ago