APIs & Integrations

Jarrick
Participante | Partner nivel Diamond
Participante | Partner nivel Diamond

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 Me gusta
1 Soluciones aceptada
cbarley
Solución
Exmiembro de HubSpot
Exmiembro de 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.

Ver la solución en mensaje original publicado

0 Me gusta
2 Respuestas 2
Jarrick
Participante | Partner nivel Diamond
Participante | Partner nivel Diamond

Front End Form to Append HubDB Table

resolver

Thanks for the response Connor!

0 Me gusta
cbarley
Solución
Exmiembro de HubSpot
Exmiembro de 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 Me gusta