As a client using the pinbox-server API
I want to be given an error status if there was a problem fulfilling my request
So that I can detect the error and handle it appropriately
Describe the solution you'd like
Return HTTP status codes that are meaningful to the response. At the moment everything is coming back as 200 OK.
As a client using the pinbox-server API I want to be given an error status if there was a problem fulfilling my request So that I can detect the error and handle it appropriately
Describe the solution you'd like Return HTTP status codes that are meaningful to the response. At the moment everything is coming back as
200 OK
.In error scenarios it might be nice to return a HTTP Problem (https://tools.ietf.org/html/rfc7807)