Zusammenfassung
The HTTP method is known but not supported for the target resource.
Wann er auftritt
Returned when, for example, a GET is used on an endpoint that only accepts POST.
Häufige Ursachen
- 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
Lösung
- Use a method listed in the Allow header
- Check the API documentation for the route
- Review the route’s allowed methods on the server
Grundlage in der Spezifikation