mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-19 13:35:25 +00:00
Commit from m3o/m3o action
This commit is contained in:
10
curl/file/save/saveFile.sh
Executable file
10
curl/file/save/saveFile.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
curl "https://api.m3o.com/v1/file/Save" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
||||
-d '{
|
||||
"file": {
|
||||
"content": "file content example",
|
||||
"path": "/document/text-files/file.txt",
|
||||
"project": "examples"
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user