Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Edge Animate - Sending To Then Getting Response From Server (XML)

$
0
0

Hi,

 

I’m very new to Edge animate, and I’m trying to send some things to a server, which would send a response back. XML.

I’m trying:

 

jQuery.ajax({

    type: "POST",

    datatype: "xml",

    url: "http://www.pandorabots.com/pandora/talk-xml",

    data: {botid: 'cb1f78b4fe36bf6d', input: 'test'},

    success: function(xml) {

         //jQuery(xml).find('result').each(function(){

                  //var tts = jQuery(this).find('that').text();

                  sym.$("xmlOutput").html('Pandorabot success.');    

       // });

    },

    error: function() {

        sym.$("xmlOutput").html('Pandorabot error.');

    },

});

 

But can’t seem to get it working.

The logs indicate that it does send, but I don’t receive an answer.

What am I doing wrong, and where should I start?

 

Thanks for any help, or links.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>