Added HttpResponseCode hook setting

This commit is contained in:
Andreas Lundblad 2018-06-20 23:34:18 +02:00
parent f9e799fea0
commit c05ca8c528
3 changed files with 19 additions and 7 deletions

View file

@ -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