When developing client-server interactive applications in which the client calls over the server API requesting for a resource (data) there can be situations where the
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