Had this issue with a REST API once. The 405 HTTP error popped up because the endpoint was case-sensitive.
Like, /api/user worked but /api/User didn’t. Worth checking if your URL has any weird casing issues.
Also, Cloudflare or other proxies can sometimes mess with methods.
Like, /api/user worked but /api/User didn’t. Worth checking if your URL has any weird casing issues.
Also, Cloudflare or other proxies can sometimes mess with methods.
