在WebApiConfig.cs 的Register 方法加上 config.Formatters.JsonFormatter.AddQueryStringMapping("$format", "json", "application/json"); config.
確定! 回上一頁