HTTP 405 status code


405 Method Not Allowed

The request method specified in the request line cannot be used to request the corresponding resource. The response must return an Allow header information to indicate the list of request methods that the current resource can accept.

Since the PUT and DELETE methods will write resources on the server, most web servers do not support or do not allow the above request methods under the default configuration. For such requests, 405 will be returned. mistake.