Technically, the API utilizes a technique called JSONP, which means that it accepts arguments via the url and returns JSON and/or valid Javascript. This is necessary because of the same origin policy (SOP) which has been historically implemented in browsers to prevent them from using XMLHttpRequest to make cross-domain requests. Although the SOP is relaxing in the latest renditions of the major browsers, the reality is that cross-domain AJAX using XMLHttpRequest remains challenged by the proliferation of older browsers and the lack of agreement between the newer ones as to how it should be implemented. The sad thing is that JSONP is restricted in that you can't use the POST method to send larger chunks of data.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Sep 1, 2009, at 6:47 PM, Rodrigo wrote: > > It's not really AJAX, looks like JSON to me > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
