APIs & Integrations

NWilliams9
参加者

Post url Form Data into a 3rd Party Form

I’m trying to post form data TO a 3rd party form via HTTP Post but I can’t find out the first step in how. Please help! Thank you so much in advanced.

0 いいね!
2件の返信
dbeau79
投稿者 | Diamond Partner
投稿者 | Diamond Partner

Post url Form Data into a 3rd Party Form

@NWilliams9 , more info would be helpful but I think your first step will  be to setup a global form event like this:

 

window.addEventListener('message', event => {
   if(event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormSubmit') {
       <!-- Code that posts to your 3rd party form here -->
   }
});
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

Post url Form Data into a 3rd Party Form

@dbeau79 has been working with the forms API and might be able to add some insight for you, @NWilliams9 

It might be helpful to add some details about your setup.

0 いいね!