Add headers to webhook.

This commit is contained in:
Yang Luo
2021-12-26 20:40:13 +08:00
parent 5015bf1c7d
commit 0c665edcbc
6 changed files with 170 additions and 8 deletions

View File

@ -28,11 +28,12 @@ class WebhookListPage extends BaseListPage {
owner: "admin", // this.props.account.webhookname,
name: `webhook_${randomName}`,
createdTime: moment().format(),
organization: "built-in",
url: "https://example.com/callback",
method: "POST",
contentType: "application/json",
headers: [],
events: ["signup", "login", "logout", "update-user"],
organization: "built-in",
}
}