diff --git a/src/content/docs/pages/functions/api-reference.mdx b/src/content/docs/pages/functions/api-reference.mdx index 93458b542eacf98..c0be67b7c32c5a6 100644 --- a/src/content/docs/pages/functions/api-reference.mdx +++ b/src/content/docs/pages/functions/api-reference.mdx @@ -14,10 +14,10 @@ The following methods can be used to configure your Pages Function. ### `onRequests` - +The `onRequest` method will be called unless a more specific `onRequestVerb` method is exported. For example, if both `onRequest` and `onRequestGet` are exported, only `onRequestGet` will be called for `GET` requests. * onRequest(context[EventContext](#eventcontext)) Response | Promise\ - * This function will be invoked on all requests no matter the request method. + * This function will be invoked on all requests no matter what the request method is, as long as no specific request verb (like one of the methods below) is exported. * onRequestGet(context[EventContext](#eventcontext)) Response | Promise\ * This function will be invoked on all `GET` requests. * onRequestPost(context[EventContext](#eventcontext)) Response | Promise\