Files
Oxicloud/tests/test-upload.sh
T
2025-03-26 19:08:07 +01:00

13 lines
288 B
Bash
Executable File

#!/bin/bash
# Test file upload to the server
echo "Testing file upload to OxiCloud server..."
# Build the form data
curl -X POST \
-F "file=@test-upload.txt" \
-F "folder_id=folder-storage:1" \
http://localhost:8086/api/files/upload
echo ""
echo "Upload test completed."