APIs & Integrations

Jarrick
Participante | Parceiro Diamante
Participante | Parceiro Diamante

Front End Form to Append HubDB Table

resolver

Hello,

Has anyone ever tried or know of a way to have a front-end form that creates a new row and populates the fields in HubDB table each time it is submitted?

Thanks,
Jarrick

0 Avaliação positiva
1 Solução aceita
cbarley
Solução
Alunos da HubSpot
Alunos da HubSpot

Front End Form to Append HubDB Table

resolver

Hi @jarrick, HubDB PUT methods would require authentication (Hapikey or Oauth), so HubSpot doesn't support any CORS/AJAX requests to those endpoints on the frontend. You could use the forms API to send data to your server, then send a PUT request with that data to a HUBDB table, but that would require a pretty custom setup.

Exibir solução no post original

0 Avaliação positiva
2 Respostas 2
Jarrick
Participante | Parceiro Diamante
Participante | Parceiro Diamante

Front End Form to Append HubDB Table

resolver

Thanks for the response Connor!

0 Avaliação positiva
cbarley
Solução
Alunos da HubSpot
Alunos da HubSpot

Front End Form to Append HubDB Table

resolver

Hi @jarrick, HubDB PUT methods would require authentication (Hapikey or Oauth), so HubSpot doesn't support any CORS/AJAX requests to those endpoints on the frontend. You could use the forms API to send data to your server, then send a PUT request with that data to a HUBDB table, but that would require a pretty custom setup.

0 Avaliação positiva