APIs & Integrations

Jarrick
Participant | Diamond Partner
Participant | Diamond Partner

Front End Form to Append HubDB Table

SOLVE

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 Upvotes
1 Accepted solution
cbarley
Solution
HubSpot Alumni
HubSpot Alumni

Front End Form to Append HubDB Table

SOLVE

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.

View solution in original post

0 Upvotes
2 Replies 2
Jarrick
Participant | Diamond Partner
Participant | Diamond Partner

Front End Form to Append HubDB Table

SOLVE

Thanks for the response Connor!

0 Upvotes
cbarley
Solution
HubSpot Alumni
HubSpot Alumni

Front End Form to Append HubDB Table

SOLVE

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 Upvotes