BP146: Do not return plain text
While returning plain text is not against RESTful constraints, it's a good practice to return structured data in the response body so that it can be easily parsed by the client.
JSON or XML might be a good condidate for the data format. Content negotiation mechanism should be used.