HTTP

405 Method Not Allowed

The HTTP method is not allowed for the requested resource. The response includes an Allow header listing valid methods.

When You See This Code

When sending POST to a read-only endpoint, or DELETE to a non-deletable resource.

How to Fix

Check the Allow response header for supported methods. Use the correct HTTP method.

Specification

View RFC / Specification →

Cross-Protocol Equivalents