Running example:
git clone https://github.com/meboHQ/example-uploads.git
cd example-uploads
npm install
NODE_ENV=development node .
- Node 8 or greater
- Express 4 or greater
POST: http://localhost:8080/api/upload
Command-line version:
node . --help
node . upload --help
node . upload --image=/tmp/foo.png --description="foo description"
POST: http://localhost:8080/api/vectorUpload
Command-line version:
node . --help
node . vectorUpload --help
node . vectorUpload --images=/tmp/foo1.png --images=/tmp/foo2.png --description="foo description"
POST: http://localhost:8080/api/cleanupVectorUpload
Command-line version:
node . --help
node . cleanupVectorUpload --help
node . cleanupVectorUpload --images=/tmp/foo1.png --images=/tmp/foo2.png --description="foo description"
Mebo is free software; you can redistribute it and/or modify it under the terms of the MIT License