iajs icon indicating copy to clipboard operation
iajs copied to clipboard

How to upload file (.mp4) ?

Open brightchip opened this issue 4 years ago • 1 comments

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, })

brightchip avatar Sep 30 '21 11:09 brightchip