curl --request POST \
--url http://localhost:4242/{computer_name}/api/editor/create \
--header 'Content-Type: application/json' \
--data '{
"file_text": "Hello, World!",
"path": "/path/to/newfile.txt"
}'
This response does not have an example.
Creates a new file with optional initial content.
curl --request POST \
--url http://localhost:4242/{computer_name}/api/editor/create \
--header 'Content-Type: application/json' \
--data '{
"file_text": "Hello, World!",
"path": "/path/to/newfile.txt"
}'
This response does not have an example.
Successfully created file