Welcome to openkapow Sign in | Join
.

Re: Callback

  •  12-01-2006, 12:38 AM

    Re: Callback

    To use a callback function you need to specify the GET parameter "json.callback" in the URL to the REST robot. For example you would have a URL like this:

    http://service.openkapow.com/...?resultformat=json&json.callbackFunction=myVeryOwnCallbackFunction&...

    Then you of course need to define the javascript funciton myVeryOwnCallbackFunction that takes one input parameter. This input parameter will be the JSON output from the REST robot.

     I hope that clarifies things a bit!
     


    "A robot on openkapow is worth two on the harddrive" - old saying

    WebHostNinja.com - price comparison for web hosting
    Digitalistic.com - mashup or die
    Filed under: ,
View Complete Thread
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy