About JupyterHub API

Hello !
How should I upload a .csv file from my local laptop to jupyterHub server?

I’ve tried the post and put method but with no success.

Is there any documentation for this?

Thanks,
Alex

Hi! Do you mean jupyter-server/JupyterLab?

The contents API is how you upload files. POST /api/contents/:filename. If you are indeed using JupyterHub, the URL would be /user/:yourname/api/contents/:filename, and your server must be running.

1 Like