Skip to content

Commit 4353cc9

Browse files
docs(api-routes): fixes Request link (#764)
1 parent a8dfef0 commit 4353cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/solid-start/building-your-application/api-routes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function DELETE() {
4848

4949
API routes get passed an `APIEvent` object as their first argument.
5050
This object contains:
51-
- `request`: [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Response) object representing the request sent by the client.
51+
- `request`: [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request) object representing the request sent by the client.
5252
- `params`: Object that contains the dynamic route parameters. For example, if the route is `/api/users/:id`, and the request is made to `/api/users/123`, then `params` will be `{ id: 123 }`.
5353
- `fetch`: An internal `fetch` function that can be used to make requests to other API routes without worrying about the `origin` of the URL.
5454

0 commit comments

Comments
 (0)