GALAglobal / translationapi

The API is for anyone who wants to adopt best practices for a translation services API to interact with counterparts directly from your application or content management system. The API helps ensure interoperability for the most common tasks.
https://translate.taus.net/translate/taus-translation-api
MIT License
12 stars 3 forks source link

Error response object not always returned #29

Closed achimr closed 9 years ago

achimr commented 9 years ago

In many error conditions HTTP errors are returned with the appropriate HTTP return codes (e.g. 404) - see for example issue #28.

The specification requires that error descriptions are returned in JSON format as an error response object. Often errors in the test implementation only get returned as plain text.

heartsomeXPhantom commented 9 years ago

Changed to JSON error responses in 2.0g