A URL Fetch of a Google chart fails.   Attempting w/ the low level API
in the development environment...

String chart = "http://chart.apis.google.com/chart?chs=250x100&chd=t:
60,40&cht=p3&chl=Hello|World";
FetchOptions options =
FetchOptions.Builder.disallowTruncate().followRedirects();
HTTPRequest request = new HTTPRequest(new URL(chart), HTTPMethod.GET,
options);
HTTPResponse response =
URLFetchServiceFactory.getURLFetchService().fetch(request);

     [java] java.lang.IllegalArgumentException: Invalid uri 'http://
chart.apis.google.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|
World': Invalid query
     [java]     at
org.apache.commons.httpclient.HttpMethodBase.<init>(Unknown Source)
     [java]     at
org.apache.commons.httpclient.methods.GetMethod.<init>(Unknown Source)


What am I'm missing?   Or perhaps this is a known issue or
limitation?

thanks!

-- 
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.

Reply via email to