Changes between Version 3 and Version 4 of APIHaFormat

Show
Ignore:
Timestamp:
10/15/08 12:19:27 (2 years ago)
Author:
derk (IP: 82.210.124.225)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APIHaFormat

    v3 v4  
    11[[TracNav(APINav|nocollapse)]] 
    22 
    3 == Return formats in Hyves API 1.0 == 
     3== Return formats == 
    44Replies from the Hyves API can be returned in 4 formats. It is important to note that each format contains exactly the same information [http://en.wikipedia.org/wiki/XML XML], XMLP, [http://en.wikipedia.org/wiki/JSON JSON], and JSONP. The ha_format parameter specifies whether the format is either XML or JSON, by assigning it either "xml", or "json" (lowercase, without quotes). If the parameter ha_callback is present, the format becomes JSONP or XMLP. Basically, these formats are the same as the non-P variants, but call a javascript function provided in callback with the javascript object (JSONP) or the XML string (XMLP) as argument. This allows you to make cross-domain AJAX calls. 
    55