From 64cc741fc8369629a8362ecffbedfc78d922a6d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adnan=20Hajdarevi=C4=87?= Date: Sat, 6 Jun 2015 14:39:20 +0200 Subject: [PATCH] Updated Referencing Request Values (markdown) --- Referencing-Request-Values.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Referencing-Request-Values.md b/Referencing-Request-Values.md index 627b840..3147da4 100644 --- a/Referencing-Request-Values.md +++ b/Referencing-Request-Values.md @@ -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" +} +``` \ No newline at end of file