1 Reply Latest reply on Jul 25, 2013 5:59 AM by justin_at_adobe

    Interact with third-party applications

    Allen·Tan

      Do anybody have a try to Interact with third-party applications when using CQ5?

       

      I have some questions when I do that, when I use ajax to get data from my custom application,it always return error message,below is my ajax code:

       

      function getMinisiteList(){

                var sendUrl="http://localhost:8088/innosite/minisite/home.json";

                $.ajax({

                          url : sendUrl,

                          type : "post",

                          dataType : "json",

                          success : function(data) {

                alert(data);

                          },

                          error : function(XMLHttpRequest,

                                              textStatus, errorThrown) {

                                         alert(XMLHttpRequest.status);

              alert(XMLHttpRequest.readyState);

              alert(textStatus);

                          }

                });

      }

       

      I think my ajax request is Intercepted by CQ,is it right? How can I do that? Can anybody answer me?

       

      thank you very much!