CMS Development

aidanxyz
Member

Blog subscription form endpoint address

SOLVE

Hi everyone,

 

I want to make a custom alternative of the default @hubspot/blog_subscribe module, with the difference being that my module needs a custom styling and the form submission should happen through AJAX without page reload.

 

Where can I get the endpoint address to put it in the action attribute of my html form?

0 Upvotes
1 Accepted solution
aidanxyz
Solution
Member

Blog subscription form endpoint address

SOLVE

OK, all that info comes with a snippet from the Form field.

View solution in original post

0 Upvotes
aidanxyz
Solution
Member

Blog subscription form endpoint address

SOLVE

OK, all that info comes with a snippet from the Form field.

0 Upvotes
aidanxyz
Member

Blog subscription form endpoint address

SOLVE

Thanks, @webdew 

 

The question still remains open, where do I get the endpoint address and other required payload data that's needed for the subscribe request?

0 Upvotes
webdew
Guide | Diamond Partner
Guide | Diamond Partner

Blog subscription form endpoint address

SOLVE

Hi @aidanxyz ,

In that case, don't use HubSpot default form, but create a separate module with custom form using ajax as there is no option to use ajax with default forms.

Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regard.

0 Upvotes