{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/feathers/issues/282","repository_url":"https://api.github.com/repos/feathersjs/feathers","labels_url":"https://api.github.com/repos/feathersjs/feathers/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers/issues/282/comments","events_url":"https://api.github.com/repos/feathersjs/feathers/issues/282/events","html_url":"https://github.com/feathersjs/feathers/issues/282","id":143872292,"number":282,"title":"How to output text/plain using hook","user":{"login":"takaaptech","id":6276251,"avatar_url":"https://avatars.githubusercontent.com/u/6276251?v=3","gravatar_id":"","url":"https://api.github.com/users/takaaptech","html_url":"https://github.com/takaaptech","followers_url":"https://api.github.com/users/takaaptech/followers","following_url":"https://api.github.com/users/takaaptech/following{/other_user}","gists_url":"https://api.github.com/users/takaaptech/gists{/gist_id}","starred_url":"https://api.github.com/users/takaaptech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takaaptech/subscriptions","organizations_url":"https://api.github.com/users/takaaptech/orgs","repos_url":"https://api.github.com/users/takaaptech/repos","events_url":"https://api.github.com/users/takaaptech/events{/privacy}","received_events_url":"https://api.github.com/users/takaaptech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-28T02:00:19Z","updated_at":"2016-03-28T02:02:55Z","closed_at":null,"body":"For some reason, i want to out put some text in get/find method, for example: http://localhost:3030/messages?param=abc\r\nwill output: some text here\r\n- If i set hook.result = 'some text here' , it will output \"some text here\" (include \" in result, so how can i remove \" symbol)\r\n- How to change format to text/plain in hook\r\n\r\nThank!"},"comment":{"url":"https://api.github.com/repos/feathersjs/feathers/issues/comments/202193093","html_url":"https://github.com/feathersjs/feathers/issues/282#issuecomment-202193093","issue_url":"https://api.github.com/repos/feathersjs/feathers/issues/282","id":202193093,"user":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T02:02:55Z","updated_at":"2016-03-28T02:02:55Z","body":"Try using Postman and setting the header in the request: https://www.getpostman.com"}}