Buckets:
silverwolf-x/project / packages /next-codemod /transforms /__testfixtures__ /next-async-request-api-dynamic-apis /async-api-22.input.tsx
| import { cookies } from 'next/headers' | |
| export const GET = async function() { | |
| cookies().get('token') | |
| } | |
| export async function POST(req: Request) { | |
| if (req.method === 'POST') { | |
| cookies().get('token') | |
| } | |
| } | |
Xet Storage Details
- Size:
- 213 Bytes
- Xet hash:
- 8013daa5c7487ef5b28c1bcc0bd6927d68686bc9abbf32e3ada6e7a63bf0bda6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.