- Add new documentation pages for API route intro, responses, errors, and validation - General fixes and improvements across existing API route guides > Note: I didn't work on the guide for additional data validation. Will work on this as part of my next focus on workflows.
15 lines
455 B
Plaintext
15 lines
455 B
Plaintext
export const metadata = {
|
|
title: `${pageNumber} API Routes Advanced Guides`,
|
|
}
|
|
|
|
# {metadata.title}
|
|
|
|
In the next chapters, you'll focus more on API routes to learn about topics such as:
|
|
|
|
- Creating API routes for different HTTP methods.
|
|
- Accepting parameters in your API routes.
|
|
- Formatting response data and headers.
|
|
- Applying middlewares on API routes.
|
|
- Validating request body parameters.
|
|
- Protecting API routes by requiring user authentication.
|