1

我正在创建一个将数据发送到工作日工作室侦听器端点的surveymonkey webhook

对于那些以前这样做过的人,我的问题是:
如何添加授权标头(用户名和密码)?

这是我的 JSON 正文:

{
  "name": "Nasdaq_Webhook",
  "event_type": "response_completed",
  "object_type": "survey",
  "object_ids": ["155794502"],
  "subscription_url": "https://e2-impl-cci.workday.com/ccx/cc-cloud-repo/launches/INT057_Test/INT057_Test/StartHere"
}
4

1 回答 1

0
{   
    "name": "Nasdaq_Webhook", 
    "event_type": "response_completed",   
    "object_type": "survey",   
    "object_ids": ["155794502"],   
    "subscription_url": "https://e2-impl-cci.workday.com/ccx/cc-cloud-repo/launches/INT057_Test/INT057_Test/StartHere", 
    "authorization": "Basic {username/pw hash}" 
}

https://www.blutter.se/utils/basic-authentication-header-generator/

于 2018-08-15T21:29:11.553 回答