import { rateLimit } from "./limiter" export async function POST(request: Request) { const allowed = await rateLimit(request) if (!allowed) { return Response.json({ error: "Slow down" }, { status: 429 }) } const body = await request.json() return Response.json({ ok: true, body })}