docs: typos and examples fixes (#11954)
* docs: typos and examples fixes * fix notification example
This commit is contained in:
@@ -10,7 +10,7 @@ In this chapter, you’ll learn about middlewares and how to create them.
|
||||
|
||||
A middleware is a function executed when a request is sent to an API Route. It's executed before the route handler function.
|
||||
|
||||
Middlwares are used to guard API routes, parse request content types other than `application/json`, manipulate request data, and more.
|
||||
Middlewares are used to guard API routes, parse request content types other than `application/json`, manipulate request data, and more.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ For example, if you omit the `a` parameter, you'll receive a `400` response code
|
||||
|
||||
---
|
||||
|
||||
## How to Validate Request Query Paramters
|
||||
## How to Validate Request Query Parameters
|
||||
|
||||
The steps to validate the request query parameters are the similar to that of [validating the body](#how-to-validate-request-body).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user