Skip to content

Glossary: Next.js Beyond the Basics

curl

A command-line tool that sends HTTP requests and prints the response. Flags such as `-i` (show status line and headers), `-H` (add a header), `-X` (set the method), `-d` (send a body), `-I` (headers only) and `-b` (send cookies) let you test APIs and check redirects.

Where the book teaches it

Related terms

Status codeRoute handler