Joined December 2012
·

Michal Wojciechowski

Sidnet
·
Warsaw, Poland
·
·
·

Not sure what your use case might be, but returning an array of errors with every response makes little sense to me, and is definitely not RESTful (as errors are not part of the resource representation). You should use HTTP status codes to indicate an error, and return the details in the response content (as many APIs do).

Achievements
129 Karma
0 Total ProTip Views