curl -X POST http://localhost:3000/file \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sessionId": "session-123",
"path": "/sandbox/input.txt",
"content": "aGVsbG8K"
}'
{ "ok": true }
Upload base64-encoded file content into an active persistent session.
curl -X POST http://localhost:3000/file \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sessionId": "session-123",
"path": "/sandbox/input.txt",
"content": "aGVsbG8K"
}'
{ "ok": true }
true when upload succeeds.curl -X POST http://localhost:3000/file \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sessionId": "session-123",
"path": "/sandbox/input.txt",
"content": "aGVsbG8K"
}'
{ "ok": true }
Was this page helpful?