1 Reply Latest reply on Apr 4, 2014 5:27 AM by hemanthR

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

    Cptn_Uncanny

      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.