Method not allowed errors can also pop up if you’re trying to POST to an endpoint that expects PUT for updates.
Check the API docs (if they exist… sigh) or use OPTIONS to see what methods are allowed.
```
curl -X OPTIONS http://yourapi.com/api/users
```
Might save you some headache!
Check the API docs (if they exist… sigh) or use OPTIONS to see what methods are allowed.
```
curl -X OPTIONS http://yourapi.com/api/users
```
Might save you some headache!
