Skip to content

Instantly share code, notes, and snippets.

@alexvdvalk
Created October 20, 2025 09:37
Show Gist options
  • Select an option

  • Save alexvdvalk/5641116bb7acccb467f3c1cb06b72349 to your computer and use it in GitHub Desktop.

Select an option

Save alexvdvalk/5641116bb7acccb467f3c1cb06b72349 to your computer and use it in GitHub Desktop.
Make external API request from a Bullhorn page interaction
const url =
"https://meetup.trycloudflare.com"; // update with your endpoint
const a = async()=> { // Javascript promise
const response = await fetch (url, {
method: 'POST',
body: JSON.stringify(form.data)
})
const data = await response.json();
console.log('data', data);
// the form.data json object is commited to the db
}
// Add checks for entity types
if (API.currentEntity === "Task") {
return a();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment