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 3 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 635 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 1038 days ago