Encountering an issue when trying to return a string. I have Java code that converts to an image successfully in the backend, but now I need to achieve this on the frontend.
String responseString="ë!!ëh$þë.ë
(-0mÓæEÈRjqY-ÖÉr-Êjêתl-d@i¶`é¥mÛzàMÄínþÎmÝÞmÞ®ßþmàná&&nÓ:mãêëã^írLî6ví^î³fî&r®Ù~®Â®ÛÜBìéöfêâÞ:@ëö-à
¸o¿ú¨üÒ¯ýf"æïðò/þoè¬ { 0+0;0_ÆÌTðø6øïktðS§0 K® o#
$ð[@?0t¬È'...
Looking for a way to return responseString and utilize it in AngularJS. How can I accomplish this by returning from Restcontroller and using it in Angular/HTML? Directly returning responseString results in an error: [$http:baddata] http://errors.angularjs.org/1.6.4/$http/baddata?