Classic file types are no longer available for use as of January 2021. You can transition your classic files or download a PDF. Learn More

http webhook trigger

Answered

Comments

3 comments

  • 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

Please sign in to leave a comment.