摘要
The HTTP method is known but not supported for the target resource.
何时发生
Returned when, for example, a GET is used on an endpoint that only accepts POST.
常见原因
- Using GET where POST/PUT is required (or vice versa)
- Method not enabled on the route
- Calling a read-only endpoint with a write method
解决方法
- Use a method listed in the Allow header
- Check the API documentation for the route
- Review the route’s allowed methods on the server