[IPython-User] 2.0dev REST API - Cross Origin problem

Carl Smith carl.input@gmail....
Fri Feb 14 09:41:29 CST 2014


Same Origin Policy applies to ports, scheme and domain. You'll normally need to serve the HTML page from the same port as you make AJAX requests to.

On 14 Feb 2014, at 09:52, Paul Hughes <paulinzurich@gmail.com> wrote:

> Hi all, first post here.
> 
> I'm a big proponent of ipython and am eager to avail of the exciting new features in 2.0, so am testing it thru my local git clone.  I am playing with the notebook server REST API now, however, I am unable to query the running notebook server from my main app because of the cross-origin request restriction:
> 
> No 'Access-Control-Allow-Origin' header is present on the requested resource.
> 
> I plan to query from the same domain, but from a page served on the main port 80 (to retrieve relevant notebooks for my application's context).  Has anyone had success here?  Perhaps there is a configuration option for the notebook server that would allow this (but I searched and could not find).
> 
> 
> 
> Thanks for all your help!
> 
> Paul
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20140214/f7f9ba40/attachment.html 


More information about the IPython-User mailing list