-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to upload file? #44
Comments
You can use the goindex-vue.js to upload files you can use GUI to upload Example: gdindex_upload.py## Python Example
import requests
to_upload = "https://i.imgur.com/8w2KDrG.gif"
# "upload: true" in the script
baseURL = "https://gdindex-dark.teamsdrives.workers.dev/"
fileName = "goindex.gif"
# "folder1/folder2/goindex.gif"
teamDriveID = "0ANCHcQq-8cmvUk9PVA" # Default - "root"
URL = baseURL + "/" + fileName + "?rootId=" + teamDriveID + "&url=" + to_upload
r = requests.put(URL)
print(r.text) |
thanks. I will try. @alx-xlx |
sorry to restart thread but how to use this script or shall i need extra server |
Hey How can i upload a local file? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: