I am using google places web service API and I am able to get the response for a place search. Using the photo reference id I am hitting the API to get the image (https://maps.googleapis.com/maps/api/place/photo?photoreference=....). As this API response is (302) ie. redirected to some other url. I am getting the response in binary data. How can i use this data to append an IMG tag in my application?
encode to base64 seems to be not working. :-(