Hi all,
I used code below to retrieve a web published Google Doc (example url
below). This worked fine until recently all of a sudden result does
not retreive actual document anymore. Instead I get a "Document not
found" with a 400 HTTP code I think.
When fetching exactly the same url in my browser, all works fine.
Any idea anyone?
Code:
URL url = new URL(requestUrl.toString());
BufferedReader in = new BufferedReader(new
InputStreamReader(
url.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null) {
str = str + inputLine + "\n";
}
in.close();
return str;
Example URL:
https://docs.google.com/document/pub?id=1W4qqZGD_VXwabyCxkof7XyssMlbr...
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.