From 9a3f895618cc1ce3f264bc0443581bc47fb44602 Mon Sep 17 00:00:00 2001 From: daihw <928874202@qq.com> Date: Wed, 17 May 2023 15:51:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20webhook=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=94=AF=E6=8C=81GET?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guide/webhook.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guide/webhook.md b/guide/webhook.md index 9f1264b..716d011 100644 --- a/guide/webhook.md +++ b/guide/webhook.md @@ -59,8 +59,10 @@ trigger: 在项目DSL中添加以上定义,保存后会自动生成 Webhook链接 ![view-webhook.png](./images/view-webhook.png) > 注意事项: -> ->`Webhook`请求方法类型必须为`Post` +> +>1.`Webhook`请求方法类型为`POST`,支持`body`参数 +> +>2.`v2.7.2`开始,`Webhook`请求方法类型支持`Get`,不支持`body`参数 ### 触发器参数提取规则 -- Gitee From 5b0f66e91343b98f56fef610c9d79e4cdcbebbe3 Mon Sep 17 00:00:00 2001 From: daihw <928874202@qq.com> Date: Wed, 17 May 2023 15:55:21 +0800 Subject: [PATCH 2/2] refactor: webhook.md --- guide/webhook.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/webhook.md b/guide/webhook.md index 716d011..95802d9 100644 --- a/guide/webhook.md +++ b/guide/webhook.md @@ -60,9 +60,9 @@ trigger: ![view-webhook.png](./images/view-webhook.png) > 注意事项: > ->1.`Webhook`请求方法类型为`POST`,支持`body`参数 +>1.`Webhook`请求方法类型为`post`,支持`body`参数 > ->2.`v2.7.2`开始,`Webhook`请求方法类型支持`Get`,不支持`body`参数 +>2.`v2.7.2`开始,`Webhook`请求方法类型支持`get`,不支持`body`参数 ### 触发器参数提取规则 -- Gitee