cloudflare/vinext

Public

mirrored from https://github.com/cloudflare/vinextAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.0.9

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

tests/fixtures/app-basic/app/api/hello/route.ts

8lines · modecode

1export async function GET() {
2 return Response.json({ message: "Hello from App Router API" });
3}
4
5export async function POST(request: Request) {
6 const body = await request.json();
7 return Response.json({ echo: body });
8}
9