I am working on Google Contacts API and I received all data and sending as string to JSON (javascript) but when I get an image from contacts I can receive image. How can I send it to JSON? How can send the image file to a URL? (Can I use signpost?)
if (photoLink.getEtag() != null) {
GDataRequest request = myService.createLinkQueryRequest(photoLink);
request.execute();
// No Authentication header information
InputStream stream = request.getResponseStream();
Image image= ImageIO.read(stream);
}