#Set status code with NextResponse
2 messages · Page 1 of 1 (latest)
return NextResponse.json({ message: "Hello World" }, { status: 200 });
2 messages · Page 1 of 1 (latest)
How do I set the status code with NextResponse?
return NextResponse.json({ message: "Hello World" }, { status: 200 });