POST to URL using Javascript
dmtrs
Posts: 5 ✭
Is there a way to set up a Destination as a POST request (w/authentication)? I tried using Code and modifying the code for DNS lookup on this page (https://cribl.io/blog/extending-cribl-building-custom-functions/). I got errors about using Promise.
Tagged:
0
Best Answer
-
Have you looked into the WebHook destination? Ive been able to successfully use that to send events to a few different API endpoints.
EDIT: Check out the PagerDuty Pack for an example
0
Answers
-
Have you looked into the WebHook destination? Ive been able to successfully use that to send events to a few different API endpoints.
EDIT: Check out the PagerDuty Pack for an example
0