Sending data to a webhook via Javascript

Hello,

I want to use a query in retool to send a json object to a Zapier webhook.

I've tried using the XMLHttpRequest method but it doesn't appear that data is being sent out.

Any insight would be appreciated, thank you!

I think using the RESTQuery API may achieve my desired outcome.

Still, any feedback is appreciated.

Following up here. The RESTQuery API allowed to send data to my webhook in Zapier. I'm good to go!