REST API response codes: 400 vs 500 - Enterprise Craftsmanship

added by DotNetKicks
2/1/2017 3:46:36 PM

1 Kicks, 239 Views

Today, I'd like to talk about the (sometimes subtle) difference between 4xx and 5xx response codes when programming a RESTful API. I'll try to show when to return what code (400 or 500) and introduce a simple way to implement this logic on the server side.


0 comments