I got no found error even I write the right path "/api/sendEmail", it keep return the 404 error. I'm using the Nextjs 14, axios and nodemailer, i thinking I'm doing everything correct
And no obviously you are not doing everything correct, because then it would work. But as you don't show the route definitions in your backend, it's hard to help. But when the server returns 404 on a route it's quite safe to assume it, in fact, doesn't exist