Unverified Commit d0b0cf0f authored by Chad M Fennell's avatar Chad M Fennell Committed by GitHub

Grammar fix on forms.mdx (#82209)

grammar nit: "an API" is singular
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 993e4d39
...@@ -8,7 +8,7 @@ Forms enable you to create and update data in web applications. Next.js provides ...@@ -8,7 +8,7 @@ Forms enable you to create and update data in web applications. Next.js provides
## Server Forms ## Server Forms
To handle form submissions on the server, create an API endpoint securely mutate data. To handle form submissions on the server, create an API endpoint that securely mutates data.
```ts filename="pages/api/submit.ts" switcher ```ts filename="pages/api/submit.ts" switcher
import type { NextApiRequest, NextApiResponse } from 'next' import type { NextApiRequest, NextApiResponse } from 'next'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment