Skip to content

Commit

Permalink
CTC-2295 Add custom headers (#81)
Browse files Browse the repository at this point in the history
Co-authored-by: Lenka <[email protected]>
  • Loading branch information
lenkaklimcikova and Lenka authored Feb 13, 2024
1 parent 336c037 commit 3768bfd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions net/management-api-v2/cm_api_v2_post_webhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@
Name = "Example webhook",
Url = "https://example.com/webhook",
Secret = "secret_key",
Headers = new []
{
new CustomHeaderModel
{
Key = "key1",
Value = "value1"
},
new CustomHeaderModel
{
Key = "key2",
Value = "value2"
}
},
DeliveryTriggers = new DeliveryTriggersModel
{
ContentType = new ContentTypeTriggerModel
Expand Down

0 comments on commit 3768bfd

Please sign in to comment.