http webhook trigger
回答済みI have created a webhook trigger and it works in postman. However, my user wants to click on a url and want the chain to start automatically. I get a 405 error when I pass the url along with the bearer token.
-
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
0Hi Jeff,
What do you mean by locate script? The client is specifically looking for this. I am looking for alternate solutions now.
Thanks,
Ganesh
0Hi 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サインインしてコメントを残してください。
コメント
3件のコメント