[IPython-User] 2.0dev REST API - Cross Origin problem
Sat Feb 15 23:20:00 CST 2014
Thanks for the pointers Carl. I will use my app's server as a proxy to
query the API outside the browser and relay it to the app. It seems this
is the only solution (at this time), but one that works reasonably well.
On 15 February 2014 15:37, Carl Smith <firstname.lastname@example.org> wrote:
> An application that runs outside of the browser can make any request it
> likes, but a webapp is stuck with the same origin. I've not used IPython's
> API, but unless it supports something like JSONP, there's no way you can
> communicate with it using AJAX from a page served from a different origin
> [short of switching dev flags on the browser, which would be bad].
> If IPython's REST API is serving pure JSON, then adding JSONP support
> amounts to a wrapper function.
> That's just my general understanding of browser hacking. IPython may do
> something I'm unaware of. Anyone??
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User