405 method not allowed when the route exists for a different request method