Javascript
import Kernel from '@onkernel/sdk'; const client = new Kernel({ apiKey: 'My API Key', }); await client.browsers.fs.upload('id', { files: [{ dest_path: '/J!', file: fs.createReadStream('path/to/file') }], });
This response does not have an example.
Allows uploading single or multiple files to the remote filesystem.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
Files uploaded successfully