Next.js Discord

Discord Forum

api 405 error in production

Unanswered
0x0.json posted this in #help-forum
Open in Discord
API is working fine on localhost, but in production it is giving 405 error saying method not allowed.
API is desgined for only one post method and I check from browser dev tools also, it is firing post request only with correct payload, still it is giving 405 error

2 Replies

Lapland Longspur
code?
Issue has been solved automatically!!