cURL
curl --request POST \ --url https://app.textql.com/v1/sandbox/upload \ --header 'Authorization: Bearer <token>' \ --header 'Connect-Protocol-Version: <connect-protocol-version>' \ --header 'Content-Type: application/json' \ --data ' { "sandboxId": "<string>", "filename": "<string>", "content": "aSDinaTvuI8gbWludGxpZnk=" } '
{ "filename": "<string>", "sizeBytes": 123 }
Upload a file into the sandbox filesystem
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Define the version of the Connect protocol
1
Define the timeout, in ms
File content, base64-encoded
Success