Rundeck Webhook 授权失败

问题描述 投票:0回答:1

我正在尝试使用 Rundeck Webhook 来运行作业,我正在使用 Postman 和 Curl 进行尝试,但在这两种情况下我都收到消息“错误:“Webhook 授权失败””

My webhook from my rundeck lab

My webhook from my rundeck lab

My webhook from my rundeck lab

POSTMAN

postman rundeck
1个回答
0
投票

您可以使用在常规 Webhook 配置中生成的特定令牌(通过单击“使用授权标头”复选框)并在单个调用后调用它,如下所示:

curl --location --request POST 'http://localhost:4440/api/46/webhook/4EnN0BJp66vyw3dfvPljrq16DcbuI708#MyWebhook' --header 'Authorization: mppFTgfnSGNlDq470vP0ltutOSoMAKLD'
© www.soinside.com 2019 - 2024. All rights reserved.