Skip to content

Glossary: Next.js Beyond the Basics

Request and Response

Also written: Request, Response, Response.json

The standard web types that fetch uses and route handlers receive and return. Response.json(data, { status }) sends JSON with a status code.

Where the book teaches it

Related terms

Route handlerNextRequestStatus code