mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
Merge pull request #486 from moorereason/iss439-raw-body
Add option to send raw request body to command
This commit is contained in:
@@ -882,6 +882,25 @@ env: HOOK_head_commit.timestamp=2013-03-12T08:14:29-07:00
|
||||
`success`,
|
||||
``,
|
||||
},
|
||||
{
|
||||
"txt-raw",
|
||||
"txt-raw",
|
||||
nil,
|
||||
"POST",
|
||||
map[string]string{"Content-Type": "text/plain"},
|
||||
"text/plain",
|
||||
`# FOO
|
||||
|
||||
blah
|
||||
blah`,
|
||||
false,
|
||||
http.StatusOK,
|
||||
`# FOO
|
||||
|
||||
blah
|
||||
blah`,
|
||||
``,
|
||||
},
|
||||
{
|
||||
"payload-json-array",
|
||||
"sendgrid",
|
||||
|
||||
Reference in New Issue
Block a user