Merge pull request #486 from moorereason/iss439-raw-body

Add option to send raw request body to command
This commit is contained in:
Adnan Hajdarević
2020-12-06 08:39:55 +01:00
committed by GitHub
4 changed files with 50 additions and 9 deletions
+11
View File
@@ -311,6 +311,17 @@
],
}
},
{
"id": "txt-raw",
"execute-command": "{{ .Hookecho }}",
"command-working-directory": "/",
"include-command-output-in-response": true,
"pass-arguments-to-command": [
{
"source": "raw-request-body"
}
]
},
{
"id": "sendgrid",
"execute-command": "{{ .Hookecho }}",
+7
View File
@@ -172,6 +172,13 @@
name: "app.messages.message.#text"
value: "Hello!!"
- id: txt-raw
execute-command: '{{ .Hookecho }}'
command-working-directory: /
include-command-output-in-response: true
pass-arguments-to-command:
- source: raw-request-body
- id: sendgrid
execute-command: '{{ .Hookecho }}'
command-working-directory: /