Update documentation to include pre-hook-command property.

This commit is contained in:
Adnan Hajdarevic 2019-12-05 22:15:15 +01:00
parent 54cfc6bcbd
commit 64942c9793
2 changed files with 26 additions and 4 deletions

View file

@ -1,7 +1,18 @@
# Referencing request values
There are three types of request values:
There are four types of request values:
1. HTTP Request Header values
1. Context values
These are the values provided by the `pre-hook-command` output.
```json
{
"source": "context",
"name": "parameter-name"
}
```
2. HTTP Request Header values
```json
{
@ -10,7 +21,7 @@ There are three types of request values:
}
```
2. HTTP Query parameters
3. HTTP Query parameters
```json
{
@ -19,7 +30,7 @@ There are three types of request values:
}
```
3. Payload (JSON or form-value encoded)
4. Payload (JSON or form-value encoded)
```json
{
"source": "payload",