Closed quocthinhvo closed 3 years ago
You can use the goindex-vue.js to upload files
you can use GUI to upload OR if CLI is your thing then use HTTP requests
Example:
## 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?
You can use the goindex-vue.js to upload files
you can use GUI to upload OR if CLI is your thing then use HTTP requests
Example:
gdindex_upload.py