Buckets:
| import { NextRequest, NextResponse } from 'next/server' | |
| export async function POST(request: NextRequest) { | |
| const body = await request.text() | |
| return new NextResponse( | |
| JSON.stringify({ | |
| message: 'Hello World', | |
| bodySize: body.length, | |
| }), | |
| { | |
| status: 200, | |
| headers: { 'Content-Type': 'application/json' }, | |
| } | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 351 Bytes
- Xet hash:
- cd6a377332d6ee325d9b8a664ffb4f6f6e4323e248feffc953c283007244942a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.