Could I use java sdk to upload a image and return a direct link that can show in webbrowser?
use java sdk to upload a image upload and return a direct link immediatly
Hi @GSD Company,
Yes, you can use Dropbox Java (or any other) SDK (or without SDK at all) to upload file (image or any other) and get link to the uploaded file. You cannot do it in a single call though (i.e. immediately)! You need to upload the target file and once uploaded you can create desired link (i.e. 2 calls total at least).
Hope this helps.
@GSD Company Здравко is correct; you can use the API/SDK to upload and get links to files, but that would require at least two calls. For reference, you can find the official Dropbox Java SDK here. You can find the documentation for the upload functionality in that SDK here. Likewise, you can use createSharedLinkWithSettings or getTemporaryLink to create links to files.