Submit Form to Call API Next.js

后端 未结 0 776
长发绾君心
长发绾君心 2020-12-25 14:30

I have a form in Next.js. I also built an api route in the /api folder. How can I make it so that when I submit the form, the data gets sent to my api? Thanks!<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题