in my api system when the result is showed in plaintext, it looks like: 
"the result\n"
i bu " \n" kaldırmak gerekir ve sonuç sadece the result içermelidir.
i sonuç için header('Content-type: text/plain'); ayarlayın.
btw. benim sistem PHP olduğunu
GÜNCELLEME:
i tarayıcıda url açtığınızda bana the result verir ama i http://hurl.it sonucu "the result\n" ile isteği sınarken
i trim ve rtrim ile denedim ama yardımcı olmadı
