APIs & Integrations

NWilliams9
Participante

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 Avaliação positiva
2 Respostas 2
dbeau79
Colaborador(a) | Parceiro Diamante
Colaborador(a) | Parceiro Diamante

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
Equipe de Produto da HubSpot
Equipe de Produto da 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 Avaliação positiva