Getting 'Method Not Allowed 405' Error – How Do I Fix This? or Why Am I Seeing a 'Method Not Allowed

16 Replies, 697 Views

Yo, 405 gang! Had this issue with my API.

For me, it was CORS blocking the request. Added `Access-Control-Allow-Methods: POST, GET` to the server headers and boom, fixed.

Also, check if your form action URL is correct. A typo there can trigger method not allowed 405 too.

Messages In This Thread



Users browsing this thread: 1 Guest(s)