Created
July 30, 2025 17:21
-
-
Save HubSpotHanevold/9fb0a3f1719690807eaaa869dd6091c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Define your webhook URL | |
| const webhookUrl = 'https://webhook.site/3e9fcebf-f527-4351-aae4-bfa5c14901af'; | |
| // Define the payload you want to send | |
| const payload = { | |
| message: 'Hello from Airtable!', | |
| timestamp: new Date().toISOString() | |
| }; | |
| // Send the POST request | |
| await fetch(webhookUrl, { | |
| method: 'POST', | |
| headers: { | |
| 'Content-Type': 'application/json' | |
| }, | |
| body: JSON.stringify(payload) | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment