HTTP/4xx (Client Error)
405 Method Not Allowed
The request method is recognized by the server but is not supported by the target resource.
❓ Why does this happen?
Sending a POST or PUT request to a route that only accepts GET, or vice versa.
✅ How to fix it
Check the Allow response header to identify supported HTTP methods for that endpoint.