There is an option zeppelin.server.allowed.origins in zeppelin-site.xml to
configure the origin you want to allow, but I never got it to work. If I
recall well it was only partially implemented.

I worked around this problem with jsonp:

    $.ajax({
      url: "http://...";,
      data: {a: "xxx", b: "..."},
      async: true,
      dataType: 'jsonp',
      crossDomain: true,
      success: function (data, status, xhr) {
         ...

Note that the result the server returns should be in javascript.



--
View this message in context: 
http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/ajax-call-tp4024p4037.html
Sent from the Apache Zeppelin Users (incubating) mailing list mailing list 
archive at Nabble.com.

Reply via email to