Praveen Kumar

Praveen Kumar

  • 253
  • 6.6k
  • 2.3m

What are the standard ways to return API HTTP Status Code for Warning

Jun 21 2021 9:17 AM

Hi,

What are the standard ways to return HTTP status codes for validation errors?

I am doing the following pattern in my ASP.NET Web API

Success 200 OK
Data Validation Error 200 OK
Exception 500 Internal Server Error

 


Answers (5)