Pending changes to add API example
This commit is contained in:
@@ -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,
|
||||
});
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user