你的位置: 码友网首页 / 资讯源列表 / Customizing Automatic HTTP 400 Error Response in ASP.NET Core Web APIs

关于[Customizing Automatic HTTP 400 Error Response in ASP.NET Core Web APIs]的摘要:

Annotating the controllers with ApiController attribute in ASP.NET Core 2.1 or higher will enable the behavioral options for the API's. These behavioral options include automatic HTTP 400 responses as well. In this post, we'll see how we can customize the default error response from the ASP.NET Core Web API.

原文地址: https://dzone.com/articles/customizing-automatic-http-400-error-response-in-a

收录时间: 2019-03-20 浏览量: 2733 分类: ASP.NET Core

| 0 收藏 | 0