Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

Rest API for requesting notebook servers #93

Open
SylvainCorlay opened this issue Dec 28, 2016 · 0 comments
Open

Rest API for requesting notebook servers #93

SylvainCorlay opened this issue Dec 28, 2016 · 0 comments

Comments

@SylvainCorlay
Copy link

SylvainCorlay commented Dec 28, 2016

@rgbkrk @freeman-lab It would be very interesting to use mybinder as a notebook server provider for other front-ends that require a Jupyter back ends.

One use case I am working on is deploying small applications that depend on Jupyter widgets. A quick working example using tmpnb with a couple of sliders is available here:

http://perso.crans.org/corlay/web5/

It makes use of tmpnb's rest api for spawning kernels... With mybinder, this would be even more interesting since I could make use of custom kernel-side dependencies...

My current experiments give me the following CORS error

XMLHttpRequest cannot load http://mybinder.org/api/deploy/jovyan-pythreejs. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

Would you consider a PR enabling the configuration of CORS for a given binder?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant