Click in order · Next.js course · Module 9: Integrations and Advanced Features

Route Handler Syntax in Next.js

Arrange the syntax of an API route handler in Next.js App Router

Items to click

  • }
  • export async function
  • { const body =
  • POST(request: Request)
  • await request.json()

You can check the correct answer by solving this task in the CodeWorlds game.