"A" minimal cURL command to upload an image
curl 'http://localhost:4567/api/admin/upload/file' \
-H 'Cookie: express.sid=s%3A3aOlEybRIA-2ETDSLhzJbAAeFBbDqRSY.aqBLldxcKQCncS7C4NDqd7tD9lsXLWdbw2wA4P8HwoE' \
-H 'x-csrf-token: aUs0HZSZ-EBNli65aMwZw-vKpHAdZAz02X7k' \
--form "params={\"folder\":\"/test\"}" \
--form "files[]=@/mnt/c/Users/Terry/Downloads/small.jpg"
Thank you