Multiple actions were found that match the request Web API

在WebAPI工程入口不对外公开的接口不能使用public。

        [HttpPost]
        public string PostRequest([FromBody] Model model)
        {
            ///
        }
        //Validate方法是不对外公布的,得弄成私有的。
        private bool Validate(Model model)
        {
            return true;
        }
原文地址:https://www.cnblogs.com/vincentDr/p/4329278.html