Skip to main content
Solved

POST to URL using Javascript

  • March 11, 2025
  • 0 replies
  • 8 views

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.

Best answer by Jon Rust

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

Jon Rust
Forum|alt.badge.img
  • Employee
  • Answer
  • March 11, 2025

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