Collect Emails from NextJS Form in HubSpot

Create the Form

# For npm
npm install axios axios-hooks

# For Yarn
yarn add axios axios-hooks

Creating our API Endpoint

--

--

--

Founder of ClaimR.tools — DevOps Consultant at Eficode — Living in Helsinki

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Debugging Python Script in VSCode

Replication: Distributed Data System Patterns

My First Rust Application — Meet Mjolnir chained database

Getting Local with Google Colab

Labeling For Loop In Swift

Serving static content on Azure

The Interview Study Guide For Data Engineers

Okuna Holidays 2019 Update!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adriaan Knapen

Adriaan Knapen

Founder of ClaimR.tools — DevOps Consultant at Eficode — Living in Helsinki

More from Medium

Google reCaptcha V3 on a form that posts to NextJs API Route.

Setting up NextAuth.js application and deploying it via Vercel

From Auth to API — How We Rethought Our Approach

Next.js Core Features