Answer by Chris Pratt for Should a REST Service Error Response Payload be...
First, an error doesn't have to include a payload. It's perfectly reasonable to just return a status code like 401 with an empty response body. However, if you need to return payload, then the response...
View ArticleShould a REST Service Error Response Payload be Consistent with the Media Type
I have a REST service that supports various media types (MIME types) such as application/xml, application/json, application/vnd.ms-excel, text/plain. This service is consumed by browsers requests as...
View Article
More Pages to Explore .....