find . \
  -type f \
  \( -name "*.java" -o -name "*.dart" -o -name "*.md" \
     -o -name "*.yaml" -o -name "*.yml" -o -name "*.properties" \
     -o -name "*.xml" -o -name "*.gradle" \) \
  ! -path "*/build/*" \
  ! -path "*/.gradle/*" \
  ! -path "*/.dart_tool/*" \
  ! -path "*/node_modules/*" \
  ! -path "*/.git/*" \
  | while read file; do
    echo "Upload: $file"
    curl -s -X POST "http://192.168.180.16:3001/api/v1/document/upload/votianlt" \
      -H "Authorization: Bearer W25V4A8-5E24XSH-KKNJBX3-WN07B7P" \
      -F "file=@$file"
  done
