mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-22 21:32:32 +00:00
Added HttpResponseCode hook setting
This commit is contained in:
parent
f9e799fea0
commit
c05ca8c528
3 changed files with 19 additions and 7 deletions
|
@ -427,6 +427,7 @@ type Hook struct {
|
|||
TriggerRule *Rules `json:"trigger-rule,omitempty"`
|
||||
TriggerRuleMismatchHttpResponseCode int `json:"trigger-rule-mismatch-http-response-code,omitempty"`
|
||||
IncomingPayloadContentType string `json:"incoming-payload-content-type,omitempty"`
|
||||
HttpResponseCode int `json:"http-response-code,omitempty"`
|
||||
}
|
||||
|
||||
// ParseJSONParameters decodes specified arguments to JSON objects and replaces the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue