This commit is contained in:
smfahim25 2025-03-20 14:50:11 +06:00
parent 0ea857261e
commit 69f8956cfa

View file

@ -28,7 +28,7 @@ const app = new Elysia()
})
)
.get("/test", () => "Hello World", {})
.post("/test-post", ({ body }) => {
.post("/api/test-post", ({ body }) => {
console.log("Received POST with body:", body);
return { success: true, received: body };
})