Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 316 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 316 Bytes

actionable-restful-api-errors

A sample implementation of actionable RESTful API errors using ASP.NET Web API and FluentValidation

Sample HTTP request to trigger validation:

POST to http://HOST:PORT/api/users/

Headers:

Content-Type: application/json

Body:

{
   "username":"dai",
   "address":{}
}