PUT needs id
in URL by default
Sometimes there is the difference between POST and PUT, because PUT needs id
in URL
That’s why you get the error: “PUT is not Allowed“.
Example:
- POST:
/api/users/
- PUT:
/api/users/1/
Hope it’ll save a lot of time for somebody