mirror of
https://github.com/adnanh/webhook.git
synced 2025-07-12 14:09:12 +00:00
add support for setting global response headers using -header flag
add support for setting response headers for a successfuly triggered hook
This commit is contained in:
parent
f620cb056b
commit
37698e63b6
4 changed files with 72 additions and 11 deletions
|
@ -4,6 +4,13 @@
|
|||
"execute-command": "/home/adnan/redeploy-go-webhook.sh",
|
||||
"command-working-directory": "/home/adnan/go",
|
||||
"response-message": "I got the payload!",
|
||||
"response-headers":
|
||||
[
|
||||
{
|
||||
"name": "Access-Control-Allow-Origin",
|
||||
"value": "*"
|
||||
}
|
||||
],
|
||||
"pass-arguments-to-command":
|
||||
[
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue