I am wanting to create a BASH script in Linux to use when I need to load media files to a Dropbox request link that a group of mine uses for collaboration. How would I do this with curl? The link is in the form of https://www.dropbox.com/request/[REDACTED]. The web interface requests a NAME and an EMAIL ADDRESS when I hit upload. Can I just parse that in with the API? Is this a feasible task to accomplish? I am usually in a terminal shell and I could save myself time by just running a script to upload the file without having to jump into a browser.
something like this:
$> ./mydbupload.sh mycoolvideo.mp4
I would then edit my script to pass the my argument (ie. mycoolvideo.mp4) into a curl command.
Please advise.
Thanks!