cloudflare-docs
cloudflare-docs copied to clipboard
[Functions] Add simple EventContext example in functions api_reference.mdx
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)
Documentation checklist
- [x] The documentation style guide has been adhered to.