Deployment issues with next js 14.2
Unanswered
HØŇĚ¥ posted this in #help-forum
HØŇĚ¥OP
I have deployed my application in vercel where my get routes are working fine and my post routes are throwing a 405 error. What could be the reason.
3 Replies
@HØŇĚ¥ I have deployed my application in vercel where my get routes are working fine and my post routes are throwing a 405 error. What could be the reason.
one reason could be a misconfigured route. You might want to provide your code and folder structure
HØŇĚ¥OP
It is working fine in the localhost I have just changed the uri part
Original message was deleted
HØŇĚ¥OP
Basically I have developed an application using Next Js and I have tested the application in my system on the localhost then the application worked really well. So I deployed this application to vercel then I tried to consume those APIs all the get APIs are working really fine but the post APIs are not working they are returning 405 status which is Bad request