Files
medusa-store/www/apps/book/app/advanced-development/api-routes/page.mdx
Shahed Nasser 1d54e8fdc1 docs: add new API route guides + fixes and improvements to existing ones (#8987)
- 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.
2024-09-04 18:23:55 +00:00

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.