Skip to content

Pre-Authenticated Request blob upload example #335

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

Open
cometta opened this issue Dec 19, 2024 · 4 comments
Open

Pre-Authenticated Request blob upload example #335

cometta opened this issue Dec 19, 2024 · 4 comments
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@cometta
Copy link

cometta commented Dec 19, 2024

Any example to upload file using Pre-Authenticated Request URL, as I want to allow all public users to upload files using OCI javascript library. The sample in https://github.com/oracle/oci-typescript-sdk/blob/master/examples/javascript/blob-sample.js can't do that. Can advice please?

@cometta
Copy link
Author

cometta commented Jan 15, 2025

i prefer not to use manual XMLRequest to upload. Instead, use oci-typesscript-sdk because it has advanced upload features like Retry logic with configurable retry attempts, automatic Chunking, parallel uploads, resume capability, progress tracking . Also it much easier to maintenance and upgrade the library later

@jyotisaini jyotisaini added the SDK Issue pertains to the SDK itself and not specific to any service label Jan 15, 2025
@jyotisaini
Copy link
Contributor

Hi @cometta - We don't have any example of uploading an object using PAR. Is there a specific use case that you have to use PAR and not use upload manager with the bucket name etc ?

@cometta
Copy link
Author

cometta commented Jan 16, 2025

@jyotisaini can elaborate more on the upload manager. my use case is we need public users to upload files and do not need Oracle cloud accounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service
Projects
None yet
Development

No branches or pull requests

3 participants