endpoint now returns text in response body