cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

[Functions] Add simple EventContext example in functions api_reference.mdx

Open Ownwn opened this issue 4 months ago • 1 comments

Summary

Added a code example of getting the request url/pathname. The url parameter is quite far down the Workers Request api reference, so it can be easily missed IMO. Also add an in-text link to bindings.

Screenshots (optional)

image

Documentation checklist

Ownwn avatar Jun 17 '25 06:06 Ownwn