|
自 2021 年 1 月起,经典文件类型不再可用。您可以转换经典文件或下载 PDF 文件。了解更多

http webhook trigger

已回答
0

评论

3 条评论

  • Jeff Hickey

    Hi Ganesh. The webhook can be triggered with an HTTP POST request and not by hitting the Webhook URL directly in your browser. This is because the Bearer Token must be passed in the Authorization header of the POST request (as well as the Content-Type header). Without doing so, you will receive error 405. One idea is to create a locate script that would kick off the POST request when navigated to in your browser. For reference, here is a link to documentation for triggering a webhook with an HTTP POST request https://support.workiva.com/hc/en-us/articles/360044660451-HTTP-Webhook-trigger-event#section3

    0
  • Ganesh Karri

    Hi Jeff,

    What do you mean by locate script? The client is specifically looking for this. I am looking for alternate solutions now.

     

    Thanks,

    Ganesh

    0
  • Jeff Hickey

    Hi Ganesh. It was a generalized example. If you had a local script, say a python script or similar, and if there was local infrastructure to host the script, then it could in theory be called from the user's browser. The local script (ie. python script) would need to send the HTTP POST request. The bottom line is that the request must be properly structured and pasting in the Webhook URL directly into a browser fails to do so resulting in the 405 error. 

    0

请先登录再写评论。