Question: method post is not allowed?
Answer: 405 Method Not Allowed means that the HTTP method is simply not supported. For example, a client might do a POST request on a resource where POST is not implemented or it's meaningless. A server generating the 405 response must also tell the client which HTTP methods it can do, using the Allow header.