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 133 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 765 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 1168 days ago