Skip to content
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

How to upload file (.mp4) ? #1

Open
brightchip opened this issue Sep 30, 2021 · 0 comments
Open

How to upload file (.mp4) ? #1

brightchip opened this issue Sep 30, 2021 · 0 comments

Comments

@brightchip
Copy link

Where to fill the file in the option. it usually inside the { form : { file: "/file" } } .
Also how can I fetch the authentication header ? why is it empty ?

This part code is from your module file /dist/ia.cjs.js
const newEmptyAuth = function() { return JSON.parse( JSON.stringify({ success: false, values: { cookies: { "logged-in-sig": null, "logged-in-user": null }, email: null, itemname: null, s3: { access: null, secret: null }, screenname: null, }, version: 1, }) ); };

I want to upload file with the below
await S3API.upload({ identifier, key, body: 'upload at ' + date, path, metadata, autocreate: true, auth, })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant