我正在将一个ASP.NETWebAPI项目转换为ASP.NET核心WEBAPI。以前,我们会像这样返回错误的响应: throw new HttpResponseException(ErrorResponses.CreateErrorResponse(HttpStatusCode.Conflict, "Too many linked devices", new { status = (int)
因此,我期望的是,当Angular 6应用程序使用GET方法请求时,将唯一标识符列表或数组作为参数发送到ASP.NET核心webAPI,然后ASP.NET核心会将仅与唯一标识符数组相关的信息带回angular我的webAPI代码看起来像这样。someService.someAction(Guids));
//Guids will be passed a