From the course: The Freelance Stack: Real Project with Next.js and Strapi

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Signup form functionality: Sending data to Strapi from main events page

Signup form functionality: Sending data to Strapi from main events page - Next.js Tutorial

From the course: The Freelance Stack: Real Project with Next.js and Strapi

Signup form functionality: Sending data to Strapi from main events page

Okay, what we're going to be doing now is we want to send data for the general interest page, right? That's the page we're currently working on. If we go to Visual Studio Code, we are still within the, let me just show you here, within this page, right? That's where we're currently, what we're currently looking at. So if we go to the page itself, if you click on stay in touch here, what you're saying is I'm generally interested in surf cams and other events, let me know about them, right? So where we want you to end up is in our participant collection right here, but with a general interest flag set, right? This is what we created here. Is general interest true or false? So for now what we want to do is send exactly a general interest request to Strapi and then save it there. Now I do have Postman open again, right? I didn't say it the first time, but you don't have to get Postman for this, right? This is just a tool, if you're not familiar with it, in order for you to try out the…

Contents