Interface: WebhookRequest<T>
The context provided to a webhook function.
Type parameters
Name | Type |
---|---|
T | any |
Properties
body
• body: T
files
• Optional
files: SquidFile
[]
headers
• headers: Record
<string
, string
>
httpMethod
• httpMethod: "delete"
| "post"
| "get"
| "put"
queryParams
• queryParams: Record
<string
, string
>
rawBody
• Optional
rawBody: string