Pending changes to add API example

This commit is contained in:
Kevin FEDYNA
2025-01-20 16:44:52 +01:00
parent 282f618386
commit 9fee9ea0e8
7 changed files with 210 additions and 24 deletions
+10
View File
@@ -0,0 +1,10 @@
import { Handlers } from "$fresh/server.ts";
export const handler: Handlers = {
async GET(request, context) {
return new Response({
test: await request.json(),
context,
});
},
};