405

Method Not Allowed

The http status code 405 indicates that the request method is known by the server but is not supported by the target resource.

Like you are accessing a HTTP API using GET method but it was defined for POST type http method.The server must generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods.