export const dataDemo = async (req: Request) => {
if (req.method == "GET") {
return Response.json({ ok: true });
} else if (req.method == "POST") {
const contentType = req.headers.get("Content-Type");
const body = await req.text();
return Response.json({ contentType, body });
}
};