Skip to content

Commit 7409620

Browse files
celsopedrosousa
andauthored
Update src/content/docs/email-routing/email-workers/local-development.mdx
Co-authored-by: Pedro Sousa <[email protected]>
1 parent 154ebf1 commit 7409620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/email-routing/email-workers/local-development.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default {
5454
Now when you run `npx wrangler dev`, wrangler will expose a local `/cdn-cgi/handler/email` endpoint that you can `POST` email messages to and trigger your Worker's `email()` handler:
5555

5656
```bash
57-
curl -X POST 'http://localhost:8787/cdn-cgi/handler/email' \
57+
curl --request POST 'http://localhost:8787/cdn-cgi/handler/email' \
5858
--url-query '[email protected]' \
5959
--url-query '[email protected]' \
6060
--header 'Content-Type: application/json' \

0 commit comments

Comments
 (0)