oracle/oci-typescript-sdk

Pre-Authenticated Request blob upload example

cometta opened this issue · 4 comments

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?

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

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 ?

@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.