Method not allowed 405 can also happen if your server’s rewrite rules (like in .htaccess) are messing with the request.
If you’re on Apache, check if mod_rewrite is altering the method.
Or if you’re using Nginx, verify the location block allows the method.
Sometimes restarting the server magically fixes it too lol.
If you’re on Apache, check if mod_rewrite is altering the method.
Or if you’re using Nginx, verify the location block allows the method.
Sometimes restarting the server magically fixes it too lol.
