Hi all,

I have literally copy and past the java example on how to detect
text's language. Added JAR files and all. Everything is fine till I
reach this line

BufferedReader reader = new BufferedReader(new
InputStreamReader(connection.getInputStream()));

Then, I get an IOException and the message is Server returned HTTP
response code: 400 for URL: 
http://ajax.googleapis.com/ajax/services/language/detect?v=1.0&q=New
plan: print out Zizek article, fatty/salty breakfast sandwich,
etc.&key=MyKey&userip=myIpaddress

I use my actual api key and my actual ip address. I only do one
request, so I guess there is no request limit problem here.

Any hint would be appreciated.

Thanks,
Hazim

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to