- Home /
Possible to use the Google Custom Search API from within Unity?
Anybody know if this is possible. I'm not that web-savvy and I reckon my code is using the API correctly - but i'm always getting "the remote server returned an error (400)" when i try to run a search... uffff.... long day... thanks ;)
Comment
Answer by BerggreenDK · Oct 18, 2012 at 08:30 PM
error 400? is that Google Api or a normal HTTP statuscode, just as 404 is file missing, you can look up HTTP statuscodes.
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error
Suggestion, debug your URL and try it in a browser directly and see what happends. If thats not an option, try simulating the Unity call with a normal javascript call.