I tried to use this Android Picasso library, How to add authentication headers? to access a protected image that returns the base64 version of the image. My problem is that the
Above answer works great. Then if the base 64 encoded image is further stored inside a JSON Object.
String jsonData = response.body().string(); JSONObject Jobject = new JSONObject(jsonData); String base64String = (String) Jobject.get("ImageData");