1
0
Fork 0
mirror of https://github.com/adnanh/webhook.git synced 2026-07-29 04:50:02 +00:00

Updated Referencing Request Values (markdown)

Adnan Hajdarević 2015-06-06 14:39:20 +02:00
parent 8b2850618d
commit 64cc741fc8

@ -60,3 +60,25 @@ There are three types of request values:
```
If the payload contains a key with the specified name "commits.0.commit.id", then the value of that key has priority over the dot-notation referencing.
# Special cases
If you want to pass the entire payload as JSON string to your command you can use
```json
{
"source": "entire-payload"
}
```
for headers you can use
```json
{
"source": "entire-headers"
}
```
and for query variables you can use
```json
{
"source": "entire-query"
}
```