405’s a pain, but 99% of the time it’s server-side. Check if your endpoint’s HTTP method matches what you’re sending.
If you’re on Laravel, run php artisan route:list to see if your route’s methods align.
If you’re on Laravel, run php artisan route:list to see if your route’s methods align.
