- December 16, 2020
Improved HTTP status for unhandled methods
MarketingWhat
We adjusted several endpoints to return a
405 Method Not Allowed
when processing unhandled methods instead of a404 Not Found
.Why
Our API endpoints were not consistent when responding to methods that aren’t supported by a given endpoint. By providing a
405 Method Not Allowed
, with an additionalAllow
header specifying the methods that are valid for the endpoint, it should be easier to discover and fix erroneous API calls.