diff --git a/docs/start/framework/react/guide/server-routes.md b/docs/start/framework/react/guide/server-routes.md index 55e94d36d2..542b274147 100644 --- a/docs/start/framework/react/guide/server-routes.md +++ b/docs/start/framework/react/guide/server-routes.md @@ -314,7 +314,7 @@ export const Route = createFileRoute('/file/$')({ ## Handling requests with a body -To handle POST requests,you can add a `POST` handler to the route object. The handler will receive the request object as the first argument, and you can access the request body using the `request.json()` method. +To handle POST requests, you can add a `POST` handler to the route object. The handler will receive the request object as the first argument, and you can access the request body using the `request.json()` method. ```ts // routes/hello.ts diff --git a/docs/start/framework/solid/guide/server-routes.md b/docs/start/framework/solid/guide/server-routes.md index 3e5481bb97..543eed07ea 100644 --- a/docs/start/framework/solid/guide/server-routes.md +++ b/docs/start/framework/solid/guide/server-routes.md @@ -314,7 +314,7 @@ export const Route = createFileRoute('/file/$')({ ## Handling requests with a body -To handle POST requests,you can add a `POST` handler to the route object. The handler will receive the request object as the first argument, and you can access the request body using the `request.json()` method. +To handle POST requests, you can add a `POST` handler to the route object. The handler will receive the request object as the first argument, and you can access the request body using the `request.json()` method. ```ts // routes/hello.ts