mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-29 04:50:02 +00:00
Updated Referencing Request Values (markdown)
parent
8b2850618d
commit
64cc741fc8
1 changed files with 22 additions and 0 deletions
|
|
@ -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"
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue