Hey! I ran into the same 405 response code issue last week. Turns out my server was blocking DELETE requests by default.
I fixed it by tweaking the Apache config to allow those methods. If you're using Apache, check your httpd.conf or .htaccess for something like:
`LimitExcept GET POST`
If that’s there, just add DELETE or whatever method you need. Also, Postman is great for testing endpoints before coding—might help you spot the issue faster.
I fixed it by tweaking the Apache config to allow those methods. If you're using Apache, check your httpd.conf or .htaccess for something like:
`LimitExcept GET POST`
If that’s there, just add DELETE or whatever method you need. Also, Postman is great for testing endpoints before coding—might help you spot the issue faster.
