Adjust webhook poll result example
This commit is contained in:
parent
d94f2f83fb
commit
c40c03fa81
17
README.md
17
README.md
@ -450,11 +450,20 @@ Various useful helper functions.
|
|||||||
```javascript
|
```javascript
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
id: 123, // Unique ID. Used for ack(webhookid).
|
// Unique ID. Used for ack(webhookid).
|
||||||
timestamp: 1234567890, // UNIX timestamp (in seconds) of when the data was received by the webhook URL.
|
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",
|
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: ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user