From c40c03fa8150c2e4e6678de392c651c73d8a82a2 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 28 Jan 2026 02:24:36 -0700 Subject: [PATCH] Adjust webhook poll result example --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ffa60d9..f5bf12f 100644 --- a/README.md +++ b/README.md @@ -450,11 +450,20 @@ Various useful helper functions. ```javascript [ { - id: 123, // Unique ID. Used for ack(webhookid). - timestamp: 1234567890, // UNIX timestamp (in seconds) of when the data was received by the webhook URL. + // Unique ID. Used for ack(webhookid). + id: 123, + + // UNIX timestamp (in seconds) of when the data was received by the webhook URL. + timestamp: 1234567890, + + // Source name set in geturl() source: "sourcename", - headers: "{'Content-Type': 'application/json'}", JSON string of all the HTTP headers sent to the webhook URL. - body: "", Entire HTTP request body sent to the webhook URL. + + // JSON string of all the HTTP headers sent to the webhook URL. + headers: "{'Content-Type': 'application/json'}", + + // Entire HTTP request body sent to the webhook URL. + body: "" } ] ``` \ No newline at end of file