This repository has been archived on 2026-01-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nextjs-auth0/app/api/protected/module/route.ts
2024-06-26 14:44:57 +02:00

10 lines
299 B
TypeScript

import { NextRequest, NextResponse } from 'next/server';
export async function GET(request: NextRequest, response: NextResponse) {
return NextResponse.json('GET request');
}
export async function POST(request: NextRequest, response: NextResponse) {
return NextResponse.json('POST request');
}